Can't display converted image to SSD1306. #7443
Replies: 1 comment
-
Posted at 2021-08-08 by Robin Sun 2021.08.08 Has an attempt been made using a proven tutorial example to rule out whether we are dealing with a buffer creation issue, an atob() data conversion issue or the actual comm with the SSD1306?
What are the results of that proven example? Posted at 2021-08-09 by BullzLabz Hey @robin Thank you for your help, but exactly same result! Nothing... the smiley face don't appear! Just for your informations, i use the 1V95 of Espruino firmware because the code that i use isn't updated to work with the last firmware. Posted at 2021-08-09 by Robin Although I haven't given this a go, as a S.W.A.G. guess, (Silly Wild Arse Guess) @BullzLabz Are any errors thrown (missed bubbling up) if placing your code inside a try/catch block? L8a and L38a That Uint16Array declaration L4 may be too large for the device memory capacity. Have any of the tutorial examples yielded any success? e.g. has anything (ex: text) been able to be displayed? If not, then maybe a wiring issue? Let's rule this one out. Might be of use in future reference > http://www.espruino.com/Image+Converter Posted at 2021-08-09 by Robin Is that code block post 1 the entire project? Although defined, I'm not seeing a call to LogoDisplay() Posted at 2021-08-09 by BullzLabz With my first test, the image was successfully converted using the Espruino converter! Otherwise, yes, everything else displays fine, there is static text and dynamic text which displays fine. For the moment, I have just replaced this image with a simple text and everything works very well! Here is the screenshot of error! PS: I'll upload the full code later Attachments: Posted at 2021-08-09 by BullzLabz And this is my board :
Posted at 2021-08-09 by Robin Mon 2021.08.09
There is a mention of an R1 32 board and software ver 1v95 @BullzLabz I'm not in sync with what is meant by R1 here. Would you mind posting the results of Posted at 2021-08-12 by BullzLabz Hi @robin For the process.memory :
For the process.env :
Posted at 2021-08-12 by BullzLabz I tried a different ways for display my image, with a custom font, and the result is the same !! Don't work ! Grrr
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2021-08-08 by BullzLabz
Hello,
I'm totally newbies with Espruino and i'm trying to display my converted image on my SSD1306 but no success.
I tryed several times but it don't work.
This my code :
Someone to help me please?
EDIT: My board is R1 32 Espruino
Beta Was this translation helpful? Give feedback.
All reactions