mongoose-os-libs / ssd1306 Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
MongooseOS is wonderful, mjs is very sweet, the only pity is mjs can't use many useful libraries directly.
According to the document, it is possible writing wrapper to use struct argument C functions, but I have to say it too hard for normal users...
I get an error when call drawString function.
As far as I understood, the function should return _drawString instead of _drawStringColor.
drawString: function(x, y, txt) {
return this._drawStringColor(this._oled, x, y, txt);
},
If you are using a 128x32 0.91" OLED display, you have to set the com_pins configuration to be 0x02. With the default value of 0x12, the output on the display is compressed.
config_schema:
- ["ssd1306.com_pins", "i", 0x02, {title: "Screen COM pins configuration, depends on physical attachemnt of the panel to the chip; 0x02, 0x12, 0x22 or 0x32 are valid values"}]
Can you add a note to the README?
Hello,
i have board that only has SPI connection to SSD1306 and i cannot change the hardware. Can you please add possibility to use SPI interface as well?
Hi,
Can you rpovide a simple example on how to use this library ?
I know that you can get it from reading actuall code but would be great to have somethin in repository
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.