guillaumef / cg-scale-wifi-oled

CG scale for all rc planes with OLED/WIFI - foldable design
GNU General Public License v3.0
14 stars 6 forks source link

Heltec Wifi kit V2 no longer available, how to make it compatible with V3 #4

Open Ponpont opened 1 year ago

Ponpont commented 1 year ago

Hello,

Many thanks for this project, I had some loadcell available and tried to source a Heltec Wifi Kit V2 but couldn't find any. So I bought a V3 thinking it will be a simple GPIO swap, well long story short, I can't make it work...

Do you think you will be able to port it so it can work on a Heltec Wifi Kit V3 ?

Many thanks, Pierre

guillaumef commented 1 year ago

Hi, It should work with minimal modifications I guess. Do you successfully compile?

You have to use the provided OLED driver by Heltec it seems and there is a demo here: https://github.com/HelTecAutomation/Heltec_ESP32/blob/master/examples/OLED/SSD1306UiDemo/SSD1306UiDemo.ino

As far as I can see, there is not much difference in the API, except the includes:

#include "heltec.h"
#include "oled/OLEDDisplayUi.h"
kabelbrand commented 3 months ago

Hi,

same here! Found this brilliant scale but the ESP32 is not available. So i got a TTGO T-Display, tried to implement all libraries, but it doesn't compile. Because i am not a code guy, help will be appreciated....