bartgrefte
Posts: 18
Joined: Wed Aug 19, 2015 11:31 am

Run code for a Teensy on a Pi

Fri May 19, 2017 6:00 pm

Not too long ago I got my hands on a cheap oled-display and the only documentation I found (besides a 2 page datasheet) was https://github.com/sumotoy/OLED_pictivaWide , with example sketches written for a Teensy.

I'd like to hook it up to a Pi Zero W and I think that could work, if I can write a program and library to be able to do that.

Are there any ways of converting the code listed on that github-page to something the Pi can work with?
A quick Google-search got me https://github.com/me-no-dev/RasPiArduino , but there is no GUI...

Or do I have to start from scratch?

1dot0
Posts: 397
Joined: Mon Nov 28, 2016 12:31 pm

Re: Run code for a Teensy on a Pi

Fri May 19, 2017 6:33 pm

hi,
a couple of months ago I found this lib for OLEDs derived from Arduino libs, and it worked very well when I once tried it-
may be it could help you (github link provided) :

http://hallard.me/adafruit-oled-display-driver-for-pi/

bartgrefte
Posts: 18
Joined: Wed Aug 19, 2015 11:31 am

Re: Run code for a Teensy on a Pi

Thu Jun 01, 2017 8:23 am

1dot0 wrote:hi,
a couple of months ago I found this lib for OLEDs derived from Arduino libs, and it worked very well when I once tried it-
may be it could help you (github link provided) :

http://hallard.me/adafruit-oled-display-driver-for-pi/
Sorry for the late reply, but that lib is for "A I2C or SPI Adafruit or generic OLED display that have a chipset driver kind of SSD1306, SH1106, SSD1327", the one I got has an "obscure SSD0332, a parent of SSD1331". I could try if it works, but based on that, I have my doubts.

Return to “C/C++”

Who is online

Users browsing this forum: DougieLawson and 10 guests