Thumby Display Controller, Arduino Examples

brian2

  • Jr. Member
  • **
    • Posts: 5
    • View Profile
Hi there.
Thanks for making this section available.
Can you tell me if the Thumby display uses a standard SSD1306 controller, e.g.:

https://www.smart-prototyping.com/0_42-inch-OLED-Bare-Display-72-40-SSD1306

Can you make some example Arduino IDE code available please? Is there a standard library for display writes/button reads?

(I've previously coded for Arduboy and am interested in porting a game with lower resolution).

Thanks,
Brian.



brian2

  • Jr. Member
  • **
    • Posts: 5
    • View Profile
Thanks for the link acedent, good code to look through, lib/thumby.py  lists all the I/O pins used.  Seems like it uses I2C rather than SPI too, interesting.


Ben Rose

  • Administrator
  • Hero Member
  • *****
    • Posts: 355
    • View Profile
Meant to respond last week, sorry- yep, lib/thumby.py will get you most of what you need until we have things documented. Thumby works fine in the Arduino IDE equivalent to the Raspberry Pi Pico, so it should be pretty easy to adapt the Arduboy library functionality, aside from the tough part of adapting games to the lower resolution.

Thanks,
Ben


 

SMF spam blocked by CleanTalk