1 Reply Latest reply on Oct 12, 2015 10:18 AM by DiegoV_Intel

    u8glib & OLED




      I've been using the u8glib many times on my Arduino projects, with the promise of the Galileo Gen 2 being Arduino compatible, but with the so much needed memory and speed I'm now trying to get the u8glib running on the Galileo Gen 2. It doesn't even come to the point of a successful compile, I guess due to the different platform (none ARM). Would appreciate some guidance on how to get this going.


      Galileo U8gLib Issue.PNG







        • 1. Re: u8glib & OLED

          Hello Riverside,


          Indeed, the issue is due to architecture compatibilities. The Galileo board is certainly Arduino compatible; however there are Arduino libraries that have been written based on AVR architectures (Arduino boards). This means, those libraries won't work on Galileo because it has a different architecture.


          The alternative would be to re-write the Arduino library in order to be Galileo compatible, however this "conversion" might prove challenging, depending on the library. Other option would be to write a new library based on the device you want to use and its datasheet.


          One third option is to use another library or approach for your project. The following thread is about an OLED display. I recommend you to check it, you might find it interesting:

          Galileo + Node.js + OLED display