FeatherWing OLED ID 4650 Adafruit bitmap
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- gcm2
- Posts: 11
- Joined: Sun Oct 23, 2022 4:40 pm
FeatherWing OLED ID 4650 Adafruit bitmap
I have 2 of the OLED Featherwings, one is Arduino, the other CircuitPython. Curious if there is a way in CircuitPython usage (during initialize of the OLED) to display the nice Adafruit logo bitmap that shows in Arduino when it inits. I think I read in the Learn guide that this bitmap is internal? I assume that if the board is CircuitPython is knows to display the little Blinky... but not the other option? Thanks.
- adafruit_support_carter
- Posts: 29168
- Joined: Tue Nov 29, 2016 2:45 pm
Re: FeatherWing OLED ID 4650 Adafruit bitmap
The logo is Arduino only. It's "internal" to the Arduino SSD1306 library:
https://github.com/adafruit/Adafruit_SSD1306
Specifically, it's defined in this file:
https://github.com/adafruit/Adafruit_SS ... r/splash.h
Most people ask how to turn it off :)
There's a compile flag in the Arduino library for that:
https://github.com/adafruit/Adafruit_SS ... 1306.h#L35
So it's not available via CircuitPython in the same manner.
What's your motivation for wanting to do this in CircuitPython?
https://github.com/adafruit/Adafruit_SSD1306
Specifically, it's defined in this file:
https://github.com/adafruit/Adafruit_SS ... r/splash.h
Most people ask how to turn it off :)
There's a compile flag in the Arduino library for that:
https://github.com/adafruit/Adafruit_SS ... 1306.h#L35
So it's not available via CircuitPython in the same manner.
What's your motivation for wanting to do this in CircuitPython?
- gcm2
- Posts: 11
- Joined: Sun Oct 23, 2022 4:40 pm
Re: FeatherWing OLED ID 4650 Adafruit bitmap
Understood thanks. I just think it looks good... Now I know no workee for CP.
I'm using Arduino on a RFM69 MO Radio Feather, and when I receive data, I'm init'ing the FeatherWing display for a second or 2 to show the bitmap on receiving a hit, then display the data recv'd. If this is bad practice (init repeatedly), then I'll not do it anymore... I guess I'm the oddball who doesn't want to turn it off!
Not using CP on the MO due to it's limited memory...
I'm using Arduino on a RFM69 MO Radio Feather, and when I receive data, I'm init'ing the FeatherWing display for a second or 2 to show the bitmap on receiving a hit, then display the data recv'd. If this is bad practice (init repeatedly), then I'll not do it anymore... I guess I'm the oddball who doesn't want to turn it off!
Not using CP on the MO due to it's limited memory...
- adafruit_support_carter
- Posts: 29168
- Joined: Tue Nov 29, 2016 2:45 pm
Re: FeatherWing OLED ID 4650 Adafruit bitmap
It should be possible to redraw the logo bitmap without re-initing. Here's the code that does the drawing:
https://github.com/adafruit/Adafruit_SS ... #L500-L508
https://github.com/adafruit/Adafruit_SS ... #L500-L508
Please be positive and constructive with your questions and comments.