Pebble - Reloj basico
Pebble – Reloj basico
#include static Window *s_main_window; static TextLayer *s_time_layer; static void update_time() { //Obtien una estructura de tiempo time_t temp = time(NULL); struct tm *tick_time = localtime(&temp); //Crea una variable para manejar la hora static char buffer[] = “00:00″; //Escribe la hora y minuto actual en la variable if(clock_is_24h_style() == true) { //Usa el formato de 24 horas…
View On WordPress











