03-23-2021 08:03
03-23-2021 08:03
I had developed my own clockface for my Versa three years ago. I just bought a new Versa 3 and tried migrating it. I have renamed the files in the resource folder (index.view and widget.defs) and updated the package.json settings.
Most of my code is in the display.onchange() method. When I run the code on the Versa 3 simulator, all I get is the time, which is coded in the clock.ontick() method. And I am getting "Error 2 Invalid path './resources/steps.png' (or something similar) for all my images.
I believe I have uploaded the code to GitHub (opens in a new page): https://github.com/gh13s68/NoFrills
Any idea what I'm missing here?
Answered! Go to the Best Answer.
03-23-2021 08:51
03-23-2021 08:51
And the second problem solved - didn't realize I had uploaded JPG instead of PNG files.
Guess today was really an example of measure twice, cut once...
Sorry for the interruption 😀
03-23-2021 08:36
03-23-2021 08:36
Solved the first problem - I didn't realize the simulator had a Display on/off toggle. So now I can see all the text. I am still getting the invalid path error on the images though.
03-23-2021 08:51
03-23-2021 08:51
And the second problem solved - didn't realize I had uploaded JPG instead of PNG files.
Guess today was really an example of measure twice, cut once...
Sorry for the interruption 😀