(Because the Simulator Build is triggered by any file update) We have just triggered Our Very First PineTime Simulator Build In The Cloud! Look for the line with "BPM" (line 71).īPM is the text that's displayed on the PineTime Watch Face.Ĭhange BPM to our own short message, like LOVE.
We shall modify the source code so that the PineTime Watch Face shows our own special message. And trigger our very first PineTime Simulator Build in the Cloud! 4 Modify the PineTime Source Code (Change ACCOUNT_NAME to our GitHub Account Name) If we ever need to edit the Workflow, just browse to this URL.
An automated job that will be run by GitHub whenever we update our source files.
Paste and overwrite the contents of the file.Ĭlick Start Commit at the right or bottom of the page. lupyuen/pinetime-lab/.github/workflows/simulate.yml In our Fork on GitHub, click Actions at the top barĬlick Skip this and set up a workflow yourself Scroll down the Settings page ( Options tab) and look for GitHub Pages Read on to learn how we add GitHub Actions to our Fork to preview our Custom Watch Face automagically. That's how we maintain Open Source Projects! GitHub helpfully tracks updates to our Fork, so that one day we may submit a Pull Request to sync our updates (only the useful ones) back to the original PineTime Repository.Īnd we may also Pull Updates from the original PineTime Repository and apply them to our Fork. The Fork contains our own copy of the entire Source Code for the PineTime Firmware. This creates a Fork of the PineTime Repository under our GitHub Account.
Here's the complete Source Code for the InfiniTime Firmware (based on FreeRTOS). 1 Create a Fork of PineTime Source FilesĬreate a free GitHub Account if we haven't got one.īrowse to the GitHub Repository for the PineTime Firmware. Even a Web Browser on mobile phones will do! Now we can build and preview Watch Faces for PineTime Smart Watch in the Web Browser, thanks to WebAssembly.Īll we need is a Web Browser. 9.7 Copy Watch Face Clock.cpp to LVGL for WebAssemblyĬustom PineTime Watch Face created in C++ by SravanSenthiln1: PineTime Watch Face Simulator vs Real PineTime.1 Create a Fork of PineTime Source Files.Preview PineTime Watch Faces in your Web Browser with WebAssembly