-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to compile #2
Comments
Sounds like you might not have the correct board selected in Arduino IDE. "bl" is an object related to the backlight, but it is wrapped in ifdefs based on board type. If you didn't select a compatible T-Watch, then that object won't be created and you'll get an error like this. |
Under Board I have TTGO T-WATCH and under board revision I have T_WATCH_2020-V1 I've tried with the other 2 board revisions (2020-V2 and base) with same result. |
OK, that sounds right. I notice that the library I am using is from when the watch was first released: https://github.com/Xinyuan-LilyGO/TTGO_TWatch_Library/tree/V1.1.0 It doesn't wrap 'bl' in ifdefs I see, so there are definitely differences -- apparently the new version introduced incompatibilities that would take a little tweaking to get working. Should be able to avoid that by using the version above. If you can confirm, I'll update the README to point to that specific library version. |
Thank worked 100%. Thank you for your quick response to this and for C64Watch in general. Very much looking forward to having this on my arm. |
Great, thanks for testing! I've updated the README. |
Hello,
This is the first thing i try to use using arduino. I run Gentoo linux and version 1.8.7 of the arduino IDE.
I've followed the instructions(and had to modify the path to lvgl.h) but the build always fails with
c64_watch:81:15: error: 'class TTGOClass' has no member named 'bl'
I'm not sure where to go from here.
Thank you
The text was updated successfully, but these errors were encountered: