Run code for a Teensy on a Pi


2 posts
by bartgrefte » 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?
Posts: 12
Joined: Wed Aug 19, 2015 11:31 am
by 1dot0 » 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/
Posts: 261
Joined: Mon Nov 28, 2016 12:31 pm