Last active
July 31, 2024 05:32
-
-
Save jacksonkeating/cd6632d177e6c188e1ca9f914ce20e87 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//prototypes | |
function wavecake.ui.data(data); // adds data to the widget line chart | |
function wavecake.ui.message(message); // displays or updates message | |
function wavecake.ui.result(status); // turns widget green ("PASS"), red ("FAIL"), or white ("PENDING") | |
//examples | |
wavecake.ui.message("Battery Level: " + result.data[0] + "%") | |
wavecake.ui.data(result.data[0]) | |
wavecake.ui.result("PASS") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment