summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.mailmap1
-rw-r--r--.reuse/dep513
-rw-r--r--LICENSES/BSD-2-Clause.txt22
-rw-r--r--LICENSES/CC0-1.0.txt121
-rw-r--r--LICENSES/OFL-1.1-RFN.txt43
-rw-r--r--README.md34
-rw-r--r--framebuffer.lua29
-rw-r--r--pixeloperator.lua99
-rw-r--r--ssd1306.lua12
-rw-r--r--terminus16.lua99
10 files changed, 457 insertions, 16 deletions
diff --git a/.mailmap b/.mailmap
new file mode 100644
index 0000000..c69b0d4
--- /dev/null
+++ b/.mailmap
@@ -0,0 +1 @@
+Birte Kristina Friesel <derf@finalrewind.org>
diff --git a/.reuse/dep5 b/.reuse/dep5
new file mode 100644
index 0000000..716361e
--- /dev/null
+++ b/.reuse/dep5
@@ -0,0 +1,13 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+
+Files: framebuffer.lua ssd1306.lua
+Copyright: 2022-2024 Birte Kristina Friesel
+License: BSD-2-Clause
+
+Files: pixeloperator.lua
+Copyright: 2018 Jayvee Enaguas
+License: CC0-1.0
+
+Files: terminus16.lua
+Copyright: 2020 Dimitar Toshkov Zhekov
+License: OFL-1.1-RFN
diff --git a/LICENSES/BSD-2-Clause.txt b/LICENSES/BSD-2-Clause.txt
new file mode 100644
index 0000000..baa80b5
--- /dev/null
+++ b/LICENSES/BSD-2-Clause.txt
@@ -0,0 +1,22 @@
+Copyright (c) <year> <owner> All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice,
+this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright notice,
+this list of conditions and the following disclaimer in the documentation
+and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
+USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/LICENSES/CC0-1.0.txt b/LICENSES/CC0-1.0.txt
new file mode 100644
index 0000000..0e259d4
--- /dev/null
+++ b/LICENSES/CC0-1.0.txt
@@ -0,0 +1,121 @@
+Creative Commons Legal Code
+
+CC0 1.0 Universal
+
+ CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
+ LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
+ ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
+ INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
+ REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
+ PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
+ THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
+ HEREUNDER.
+
+Statement of Purpose
+
+The laws of most jurisdictions throughout the world automatically confer
+exclusive Copyright and Related Rights (defined below) upon the creator
+and subsequent owner(s) (each and all, an "owner") of an original work of
+authorship and/or a database (each, a "Work").
+
+Certain owners wish to permanently relinquish those rights to a Work for
+the purpose of contributing to a commons of creative, cultural and
+scientific works ("Commons") that the public can reliably and without fear
+of later claims of infringement build upon, modify, incorporate in other
+works, reuse and redistribute as freely as possible in any form whatsoever
+and for any purposes, including without limitation commercial purposes.
+These owners may contribute to the Commons to promote the ideal of a free
+culture and the further production of creative, cultural and scientific
+works, or to gain reputation or greater distribution for their Work in
+part through the use and efforts of others.
+
+For these and/or other purposes and motivations, and without any
+expectation of additional consideration or compensation, the person
+associating CC0 with a Work (the "Affirmer"), to the extent that he or she
+is an owner of Copyright and Related Rights in the Work, voluntarily
+elects to apply CC0 to the Work and publicly distribute the Work under its
+terms, with knowledge of his or her Copyright and Related Rights in the
+Work and the meaning and intended legal effect of CC0 on those rights.
+
+1. Copyright and Related Rights. A Work made available under CC0 may be
+protected by copyright and related or neighboring rights ("Copyright and
+Related Rights"). Copyright and Related Rights include, but are not
+limited to, the following:
+
+ i. the right to reproduce, adapt, distribute, perform, display,
+ communicate, and translate a Work;
+ ii. moral rights retained by the original author(s) and/or performer(s);
+iii. publicity and privacy rights pertaining to a person's image or
+ likeness depicted in a Work;
+ iv. rights protecting against unfair competition in regards to a Work,
+ subject to the limitations in paragraph 4(a), below;
+ v. rights protecting the extraction, dissemination, use and reuse of data
+ in a Work;
+ vi. database rights (such as those arising under Directive 96/9/EC of the
+ European Parliament and of the Council of 11 March 1996 on the legal
+ protection of databases, and under any national implementation
+ thereof, including any amended or successor version of such
+ directive); and
+vii. other similar, equivalent or corresponding rights throughout the
+ world based on applicable law or treaty, and any national
+ implementations thereof.
+
+2. Waiver. To the greatest extent permitted by, but not in contravention
+of, applicable law, Affirmer hereby overtly, fully, permanently,
+irrevocably and unconditionally waives, abandons, and surrenders all of
+Affirmer's Copyright and Related Rights and associated claims and causes
+of action, whether now known or unknown (including existing as well as
+future claims and causes of action), in the Work (i) in all territories
+worldwide, (ii) for the maximum duration provided by applicable law or
+treaty (including future time extensions), (iii) in any current or future
+medium and for any number of copies, and (iv) for any purpose whatsoever,
+including without limitation commercial, advertising or promotional
+purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
+member of the public at large and to the detriment of Affirmer's heirs and
+successors, fully intending that such Waiver shall not be subject to
+revocation, rescission, cancellation, termination, or any other legal or
+equitable action to disrupt the quiet enjoyment of the Work by the public
+as contemplated by Affirmer's express Statement of Purpose.
+
+3. Public License Fallback. Should any part of the Waiver for any reason
+be judged legally invalid or ineffective under applicable law, then the
+Waiver shall be preserved to the maximum extent permitted taking into
+account Affirmer's express Statement of Purpose. In addition, to the
+extent the Waiver is so judged Affirmer hereby grants to each affected
+person a royalty-free, non transferable, non sublicensable, non exclusive,
+irrevocable and unconditional license to exercise Affirmer's Copyright and
+Related Rights in the Work (i) in all territories worldwide, (ii) for the
+maximum duration provided by applicable law or treaty (including future
+time extensions), (iii) in any current or future medium and for any number
+of copies, and (iv) for any purpose whatsoever, including without
+limitation commercial, advertising or promotional purposes (the
+"License"). The License shall be deemed effective as of the date CC0 was
+applied by Affirmer to the Work. Should any part of the License for any
+reason be judged legally invalid or ineffective under applicable law, such
+partial invalidity or ineffectiveness shall not invalidate the remainder
+of the License, and in such case Affirmer hereby affirms that he or she
+will not (i) exercise any of his or her remaining Copyright and Related
+Rights in the Work or (ii) assert any associated claims and causes of
+action with respect to the Work, in either case contrary to Affirmer's
+express Statement of Purpose.
+
+4. Limitations and Disclaimers.
+
+ a. No trademark or patent rights held by Affirmer are waived, abandoned,
+ surrendered, licensed or otherwise affected by this document.
+ b. Affirmer offers the Work as-is and makes no representations or
+ warranties of any kind concerning the Work, express, implied,
+ statutory or otherwise, including without limitation warranties of
+ title, merchantability, fitness for a particular purpose, non
+ infringement, or the absence of latent or other defects, accuracy, or
+ the present or absence of errors, whether or not discoverable, all to
+ the greatest extent permissible under applicable law.
+ c. Affirmer disclaims responsibility for clearing rights of other persons
+ that may apply to the Work or any use thereof, including without
+ limitation any person's Copyright and Related Rights in the Work.
+ Further, Affirmer disclaims responsibility for obtaining any necessary
+ consents, permissions or other rights required for any use of the
+ Work.
+ d. Affirmer understands and acknowledges that Creative Commons is not a
+ party to this document and has no duty or obligation with respect to
+ this CC0 or use of the Work.
diff --git a/LICENSES/OFL-1.1-RFN.txt b/LICENSES/OFL-1.1-RFN.txt
new file mode 100644
index 0000000..6fe84ee
--- /dev/null
+++ b/LICENSES/OFL-1.1-RFN.txt
@@ -0,0 +1,43 @@
+SIL OPEN FONT LICENSE
+
+Version 1.1 - 26 February 2007
+
+PREAMBLE
+
+The goals of the Open Font License (OFL) are to stimulate worldwide development of collaborative font projects, to support the font creation efforts of academic and linguistic communities, and to provide a free and open framework in which fonts may be shared and improved in partnership with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+
+"Font Software" refers to the set of files released by the Copyright Holder(s) under this license and clearly marked as such. This may include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting, or substituting — in part or in whole — any of the components of the Original Version, by changing formats or by porting the Font Software to a new environment.
+
+"Author" refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell modified and unmodified copies of the Font Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components, in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled, redistributed and/or sold with any software, provided that each copy contains the above copyright notice and this license. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font Name(s) unless explicit written permission is granted by the corresponding Copyright Holder. This restriction only applies to the primary font name as presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall not be used to promote, endorse or advertise any Modified Version, except to acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with their explicit written permission.
+
+5) The Font Software, modified or unmodified, in part or in whole, must be distributed entirely under this license, and must not be distributed under any other license. The requirement for fonts to remain under this license does not apply to any document created using the Font Software.
+
+TERMINATION
+
+This license becomes null and void if any of the above conditions are not met.
+
+DISCLAIMER
+
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..c938a8e
--- /dev/null
+++ b/README.md
@@ -0,0 +1,34 @@
+# ESP8266 Lua/NodeMCU framebuffer + module for SSD1306 OLEDs
+
+This repository contains a Lua module (`ssd1306.lua`), framebuffer
+(`framebuffer.lua`) and fonts (`pixeloperator.lua`, `terminus16.lua`)
+for using **SSD1306**-based OLEDs with ESP8266/NodeMCU firmware.
+
+## Dependencies
+
+ssd1306.lua and framebuffer.lua have been tested with Lua 5.1 on NodeMCU
+firmware 3.0.1 (Release 202112300746, integer build). They require the
+following modules.
+
+* bit
+* i2c
+
+## Usage
+
+Copy **framebuffer.lua**, **ssd1306.lua** and (depending on your font choice)
+**pixeloperator.lua** or **terminus16.lua** to your NodeMCU board and set them
+up as follows.
+
+```lua
+i2c.setup(0, sda_pin, scl_pin, i2c.SLOW)
+ssd1306 = require("ssd1306")
+fn = require("pixeloperator") -- or "terminus16"
+fb = require("framebuffer")
+collectgarbage()
+
+ssd1306.init(128, 64) -- assuming that a 128x64 OLED is connected
+ssd1306.contrast(255) -- maximum contrast
+fb.init(128, 64) -- initialize framebuffer for 128x64 pixels
+fb.print(fn, "Hello from NodeMCU!\nHello yes, this is Lua\n")
+ssd1306.show(fb.buf)
+```
diff --git a/framebuffer.lua b/framebuffer.lua
index 754a2bb..944c53c 100644
--- a/framebuffer.lua
+++ b/framebuffer.lua
@@ -16,10 +16,12 @@ end
function fb.scroll()
for x = 0, fb.w-1 do
- for y = 1, fb.h/8-1 do
- fb.buf[x*(fb.h/8) + y-1 + 1] = fb.buf[x*(fb.h/8) + y + 1] or nil
+ for y = 1, fb.h/32 do
+ fb.buf[x*(fb.h/32) + y-1 + 1] = bit.rshift(fb.buf[x*(fb.h/32) + y-1 + 1] or 0, 8) or nil
+ if y ~= fb.h/32 then
+ fb.buf[x*(fb.h/32) + y-1 + 1] = bit.bor(fb.buf[x*(fb.h/32) + y-1 + 1] or 0, bit.lshift(fb.buf[x*(fb.h/32) + y + 1] or 0, 24)) or nil
+ end
end
- fb.buf[x*(fb.h/8) + fb.h/8] = nil
end
fb.y = fb.y - 8
end
@@ -41,7 +43,10 @@ function fb.put(font, c)
for i = 1, string.len(glyph) do
local x1 = (i-1) / fh
local y8 = (i-1) % fh
- fb.buf[fb.y/8+y8 + (fb.x+x1) * (fb.h/8) + 1] = string.byte(glyph, i)
+ local fb8_o = fb.y/8+y8 + (fb.x+x1) * (fb.h/8)
+ local fb32_o = fb8_o / 4 + 1
+ local fb32_s = (fb8_o % 4) * 8
+ fb.buf[fb32_o] = bit.bor(fb.buf[fb32_o] or 0, bit.lshift(string.byte(glyph, i), fb32_s))
end
fb.x = fb.x + string.len(glyph) / fh + 2
if fb.x > fb.w then
@@ -56,25 +61,25 @@ function fb.print(font, str)
end
function fb.draw_battery_8(x, y, p)
- fb.buf[y/8 + x*fb.h/8 + 1] = 0xff
+ fb.buf[y/32 + x*fb.h/32 + 1] = 0xff
for i = 1, 10 do
if p*2 >= i*15 then
- fb.buf[y/8 + (x+i)*fb.h/8 + 1] = 0xff
+ fb.buf[y/32 + (x+i)*fb.h/32 + 1] = 0xff
else
- fb.buf[y/8 + (x+i)*fb.h/8 + 1] = 0x81
+ fb.buf[y/32 + (x+i)*fb.h/32 + 1] = 0x81
end
end
if p*2 >= 11*15 then
- fb.buf[y/8 + (x+11)*fb.h/8 + 1] = 0xff
+ fb.buf[y/32 + (x+11)*fb.h/32 + 1] = 0xff
else
- fb.buf[y/8 + (x+11)*fb.h/8 + 1] = 0xe7
+ fb.buf[y/32 + (x+11)*fb.h/32 + 1] = 0xe7
end
if p*2 >= 12*15 then
- fb.buf[y/8 + (x+12)*fb.h/8 + 1] = 0x3c
+ fb.buf[y/32 + (x+12)*fb.h/32 + 1] = 0x3c
else
- fb.buf[y/8 + (x+12)*fb.h/8 + 1] = 0x24
+ fb.buf[y/32 + (x+12)*fb.h/32 + 1] = 0x24
end
- fb.buf[y/8 + (x+13)*fb.h/8 + 1] = 0x3c
+ fb.buf[y/32 + (x+13)*fb.h/32 + 1] = 0x3c
end
return fb
diff --git a/pixeloperator.lua b/pixeloperator.lua
new file mode 100644
index 0000000..ac05362
--- /dev/null
+++ b/pixeloperator.lua
@@ -0,0 +1,99 @@
+local po = {}
+po.height = 8
+po.glyphs = {"\0\0\0",
+"\190",
+"\12\2\12\2",
+"\72\252\72\72\252\72",
+"\72\84\254\84\36",
+"\12\82\44\16\104\148\96",
+"\108\146\146\146\228",
+"\14",
+"\56\68\130",
+"\130\68\56",
+"\20\8\62\8\20",
+"\16\16\124\16\16",
+"\128\64",
+"\16\16\16\16\16",
+"\128",
+"\192\56\6",
+"\124\162\146\138\124",
+"\8\4\254",
+"\132\194\162\146\140",
+"\68\130\146\146\108",
+"\48\40\36\34\254",
+"\78\138\138\138\114",
+"\124\146\146\146\100",
+"\194\34\18\10\6",
+"\108\146\146\146\108",
+"\76\146\146\146\124",
+"\72",
+"\128\72",
+"\16\40\68",
+"\40\40\40\40\40",
+"\68\40\16",
+"\4\2\162\18\12",
+"\124\130\146\170\186\162\28",
+"\252\18\18\18\252",
+"\254\146\146\146\108",
+"\124\130\130\130\68",
+"\254\130\130\130\124",
+"\254\146\146\130\130",
+"\254\18\18\2\2",
+"\124\130\130\146\244",
+"\254\16\16\16\254",
+"\254",
+"\64\128\128\128\126",
+"\254\16\40\68\130",
+"\254\128\128\128\128",
+"\254\8\16\32\16\8\254",
+"\254\8\16\32\254",
+"\124\130\130\130\124",
+"\254\18\18\18\12",
+"\124\130\162\66\188",
+"\254\34\34\98\156",
+"\76\146\146\146\100",
+"\2\2\254\2\2",
+"\126\128\128\128\126",
+"\62\64\128\64\62",
+"\126\128\128\120\128\128\126",
+"\198\40\16\40\198",
+"\6\8\240\8\6",
+"\194\162\146\138\134",
+"\254\130\130",
+"\6\56\192",
+"\130\130\254",
+"\8\4\2\4\8",
+"\128\128\128\128\128",
+"\2\4",
+"\64\168\168\168\240",
+"\254\136\136\136\112",
+"\112\136\136\136\80",
+"\112\136\136\136\254",
+"\112\168\168\168\48",
+"\8\252\10\10\2",
+"\16\168\168\168\120",
+"\254\8\8\8\240",
+"\250",
+"\64\128\128\128\122",
+"\254\32\48\72\128",
+"\254",
+"\248\8\8\48\8\8\240",
+"\248\8\8\8\240",
+"\112\136\136\136\112",
+"\240\40\40\40\16",
+"\16\40\40\40\240",
+"\248\32\16\8\8",
+"\144\168\168\168\64",
+"\8\124\136\136\128",
+"\120\128\128\128\120",
+"\56\64\128\64\56",
+"\120\128\128\64\128\128\120",
+"\136\80\32\80\136",
+"\152\160\160\160\120",
+"\136\200\168\152\136",
+"\16\108\130\130",
+"\254",
+"\130\130\108\16",
+"\4\2\2\4\4\2"}
+
+return po
diff --git a/ssd1306.lua b/ssd1306.lua
index 2ab3491..a6e4cd3 100644
--- a/ssd1306.lua
+++ b/ssd1306.lua
@@ -40,7 +40,7 @@ function ssd1306.init(width, height)
s_COM_PIN_CFG, height == 32 and 0x02 or 0x12, s_DISP_CLK_DIV, 0x80,
s_PRECHARGE, 0x88, s_VCOM_DESEL, 0x30, s_CONTRAST, 0x80, s_ENTIRE_ON,
s_NORM_INV, s_CHARGE_PUMP, 0x14, s_DISP + 0x01, s_COL_ADDR, 0, 127,
- s_PAGE_ADDR, 0, 7}
+ s_PAGE_ADDR, 0, height/8-1}
for i, v in ipairs(tab) do
ssd1306.wc(v)
end
@@ -55,9 +55,13 @@ end
function ssd1306.show(fb)
local txbuf = {0x40}
- for i = 1, ssd1306.w * ssd1306.h / 8, 128 do
- for j = 0, 127 do
- txbuf[j+2] = fb[i+j] or 0
+ for i = 1, ssd1306.w * ssd1306.h / 32, 32 do
+ for j = 0, 31 do
+ local dw = fb[i+j] or 0
+ for k = 2, 5 do
+ txbuf[j*4+k] = bit.band(dw, 0xff)
+ dw = bit.rshift(dw, 8)
+ end
end
ssd1306.wd(txbuf)
end
diff --git a/terminus16.lua b/terminus16.lua
new file mode 100644
index 0000000..26f1786
--- /dev/null
+++ b/terminus16.lua
@@ -0,0 +1,99 @@
+local t = {}
+t.height = 16
+t.glyphs = {"\0\0\0\0\0\0\0\0",
+"\252\13",
+"\14\0\0\0\0\0\14\0",
+"\32\1\252\15\32\1\32\1\252\15\32\1",
+"\112\4\136\8\136\8\254\63\136\8\136\8\16\7",
+"\8\0\20\12\20\3\200\4\48\10\12\10\0\4",
+"\128\7\88\8\100\8\164\8\24\7\128\8",
+"\14\0",
+"\240\3\8\4\4\8",
+"\4\8\8\4\240\3",
+"\128\0\160\2\192\1\192\1\160\2\128\0",
+"\128\0\128\0\224\3\128\0\128\0",
+"\0\16\0\12",
+"\128\0\128\0\128\0\128\0\128\0\128\0",
+"\0\12",
+"\0\12\0\3\192\0\48\0\12\0",
+"\248\7\4\9\132\8\68\8\36\8\248\7",
+"\16\8\8\8\252\15\0\8\0\8",
+"\24\12\4\10\4\9\132\8\68\8\56\8",
+"\24\6\4\8\68\8\68\8\68\8\184\7",
+"\128\1\64\1\32\1\16\1\8\1\252\15",
+"\124\4\68\8\68\8\68\8\68\8\132\7",
+"\240\7\72\8\68\8\68\8\68\8\128\7",
+"\4\0\4\0\4\14\132\1\100\0\28\0",
+"\184\7\68\8\68\8\68\8\68\8\184\7",
+"\120\0\132\8\132\8\132\8\132\4\248\3",
+"\96\12",
+"\0\16\96\12",
+"\128\0\64\1\32\2\16\4\8\8",
+"\32\1\32\1\32\1\32\1\32\1\32\1",
+"\8\8\16\4\32\2\64\1\128\0",
+"\56\0\4\0\4\0\132\13\68\0\56\0",
+"\248\7\4\8\228\9\20\10\20\10\20\9\248\11",
+"\248\15\132\0\132\0\132\0\132\0\248\15",
+"\252\15\68\8\68\8\68\8\68\8\184\7",
+"\248\7\4\8\4\8\4\8\4\8\24\6",
+"\252\15\4\8\4\8\4\8\8\4\240\3",
+"\252\15\68\8\68\8\68\8\4\8\4\8",
+"\252\15\68\0\68\0\68\0\4\0\4\0",
+"\248\7\4\8\4\8\132\8\132\8\152\7",
+"\252\15\64\0\64\0\64\0\64\0\252\15",
+"\4\8\252\15\4\8",
+"\0\6\0\8\0\8\4\8\252\7\4\0",
+"\252\15\192\0\32\1\16\2\8\4\4\8",
+"\252\15\0\8\0\8\0\8\0\8\0\8",
+"\252\15\8\0\16\0\96\0\16\0\8\0\252\15",
+"\252\15\32\0\64\0\128\0\0\1\252\15",
+"\248\7\4\8\4\8\4\8\4\8\248\7",
+"\252\15\132\0\132\0\132\0\132\0\120\0",
+"\248\7\4\8\4\8\4\12\4\8\248\23",
+"\252\15\132\0\132\1\132\2\132\4\120\8",
+"\56\6\68\8\68\8\68\8\68\8\136\7",
+"\4\0\4\0\4\0\252\15\4\0\4\0\4\0",
+"\252\7\0\8\0\8\0\8\0\8\252\7",
+"\124\0\128\3\0\12\0\12\128\3\124\0",
+"\252\15\0\4\0\2\128\1\0\2\0\4\252\15",
+"\12\12\48\3\192\0\192\0\48\3\12\12",
+"\12\0\48\0\64\0\128\15\64\0\48\0\12\0",
+"\4\14\4\9\132\8\68\8\36\8\28\8",
+"\252\15\4\8\4\8",
+"\12\0\48\0\192\0\0\3\0\12",
+"\4\8\4\8\252\15",
+"\8\0\4\0\2\0\4\0\8\0",
+"\0\16\0\16\0\16\0\16\0\16\0\16",
+"\1\0\2\0",
+"\0\7\160\8\160\8\160\8\160\8\192\15",
+"\252\15\32\8\32\8\32\8\32\8\192\7",
+"\192\7\32\8\32\8\32\8\32\8\64\4",
+"\192\7\32\8\32\8\32\8\32\8\252\15",
+"\192\7\32\9\32\9\32\9\32\9\192\1",
+"\32\0\32\0\248\15\36\0\36\0\4\0",
+"\192\7\32\40\32\40\32\40\32\40\224\31",
+"\252\15\32\0\32\0\32\0\32\0\192\15",
+"\32\8\236\15\0\8",
+"\0\24\0\32\0\32\32\32\236\31",
+"\252\15\0\1\0\1\128\2\64\4\32\8",
+"\4\8\252\15\0\8",
+"\224\15\32\0\32\0\224\15\32\0\32\0\192\15",
+"\224\15\32\0\32\0\32\0\32\0\192\15",
+"\192\7\32\8\32\8\32\8\32\8\192\7",
+"\224\63\32\8\32\8\32\8\32\8\192\7",
+"\192\7\32\8\32\8\32\8\32\8\224\63",
+"\224\15\64\0\32\0\32\0\32\0\32\0",
+"\192\8\32\9\32\9\32\9\32\9\32\6",
+"\32\0\32\0\252\7\32\8\32\8\0\8",
+"\224\7\0\8\0\8\0\8\0\8\224\15",
+"\224\0\0\3\0\12\0\12\0\3\224\0",
+"\224\7\0\8\0\8\128\15\0\8\0\8\224\7",
+"\96\12\128\2\0\1\0\1\128\2\96\12",
+"\224\7\0\40\0\40\0\40\0\40\224\31",
+"\32\12\32\10\32\9\160\8\96\8\32\8",
+"\64\0\184\7\4\8\4\8",
+"\252\15",
+"\4\8\4\8\184\7\64\0",
+"\12\0\2\0\2\0\4\0\8\0\8\0\6\0"}
+
+return t