Processing-like framework for Pebble Smartwatch. Let's sketch a watchface with code!
void draw() {
fill(0);
char str[10];
snprintf(str, 10, "%ld", millis());
text(str, 10, sketchHeight / 2);
}
Returns the number of milliseconds (thousandths of a second) since starting the program. This information is often used for timing events and animation sequences.
millis()
long int
second()
minute()
hour()
day()
month()
year()