I managed to build Espruino for the ID115, flash the nrf51822 and drive the LCD, that's super awesome :-)
I first thought that my OLED display was broken , but I figured out that I did not adjust the SSD1306 configuration, and the matrix dimensions were such that, well, I printed "hello world" outside of the visible matrix. The display is 32 x 128 pixels. Just changed the config and the graphic handling was done.
Now I would like to add the setFontVector to the binary, even if it is restricted because of low flash memory. How could I achieve that? It seems that it is not just a matter of removing the line "ifndef" : "SAVE_ON_FLASH" in /libs/graphics/jswrap_graphics.c. . .
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I managed to build Espruino for the ID115, flash the nrf51822 and drive the LCD, that's super awesome :-)
I first thought that my OLED display was broken , but I figured out that I did not adjust the SSD1306 configuration, and the matrix dimensions were such that, well, I printed "hello world" outside of the visible matrix. The display is 32 x 128 pixels. Just changed the config and the graphic handling was done.
Now I would like to add the
setFontVector
to the binary, even if it is restricted because of low flash memory. How could I achieve that? It seems that it is not just a matter of removing the line"ifndef" : "SAVE_ON_FLASH"
in/libs/graphics/jswrap_graphics.c
. . .