@Dexdev08 wanted to load this watchface into his Watchy, but he ran into the ENODEV error. I originally ran into the same error when I tried to load Hueyy's Watchface.
The problem ended up being Hueyy's code, using the DS3231 RTC, is meant for the Watchy v1 and I had a v2. Dexdev08 has a Watchy v1 as well, but I had implemented the PCF8568 RTC.
I would like to work toward refactoring both the ds3231 and pcf8568 libraries so the method names match (or at least the public facing methods we use match) and the outputs of those methods match, so we could make them interchangeable to end users.
At this time, I'm using a config.py variable named WATCHY_VERSION to control this. I'm open to other suggestions, especially something the user doesn't have to touch.
@Dexdev08 wanted to load this watchface into his Watchy, but he ran into the ENODEV error. I originally ran into the same error when I tried to load Hueyy's Watchface.
The problem ended up being Hueyy's code, using the DS3231 RTC, is meant for the Watchy v1 and I had a v2. Dexdev08 has a Watchy v1 as well, but I had implemented the PCF8568 RTC.
I would like to work toward refactoring both the ds3231 and pcf8568 libraries so the method names match (or at least the public facing methods we use match) and the outputs of those methods match, so we could make them interchangeable to end users.
At this time, I'm using a
config.pyvariable namedWATCHY_VERSIONto control this. I'm open to other suggestions, especially something the user doesn't have to touch.