Closed mr-who2012 closed 3 years ago
ssd1306 is completely different library. You've submitted issue to lcdgfx.
The example from here works: https://github.com/lexus2k/lcdgfx/wiki/Using-NanoEngine-for-systems-with-low-resources2
ssd1306 is the lcdgfx-library availalbe in the arduino-library-manager. Search for lcdgfx and ssd1306 shows up. All examples in the library use ssd1306.h as header file. lcdgfx.h doesn't exist. The provided example in your post is the very same example, I mentioned before. It only differs in the usage of "lcdgfx.h" instead of ssd1306.h. lcdgfx.h doesn't exist.
ssd1306 is the lcdgfx-library availalbe in the arduino-library-manager
Seriously? ssd1306 and lcdgfx are 2 different libraries in Arduino library manager. ssd1306 has C-style API, while lcdgfx has C++ style API.
Please, check more carefully.
Next, you want to use full screen double buffer for 128x160 color display on Atmega328p uC. Atmega328p has 2KiB of RAM. How many bytes do you need for screen buffer??? I will answer 128x160x(16 bits / 8 bits) = 40960 bytes. And here the question: how to fit 40KiB buffer into 2KiB of RAM? Any ideas?
Why are you typing-in "ssd1327" to get lcdgfx-library in the library-manager? Anyway, I will try the new lib that was never mentioned before, anywhere and report back.
Why are you typing-in "ssd1327" to get lcdgfx-library in the library-manager? Anyway, I will try the new lib that was never mentioned before, anywhere and report back.
It's just a keyword to search. You can use any other keyword. Do you know how search engine works?
yes, I type in a keyword and get the proper library. Here I have to type in something completely odd to get lcdgfx.
Closing this issue. All discussion in https://forum.arduino.cc/index.php?topic=703414.msg4726777#msg4726777
Describe the bug Full-screen double-buffering with NanoEngine is not possible. The following example from the README.md-file (ssd1306/src/nano_engine/README.md) is just not working:
Expected behavior A rectangle should be drawn onto the screen. Instead, there is a black box in the top-left corner.
Please complete the following information:
Additional context I also have problems using conditional statements in the draw-callback-function for the nano-engine. Draw-commands inside conditional statements dont get executed. I placed a full description of my problem on the arduino-forums.