とりあえずチュートリアルとか、サンプルコードを引っ張ってきて、理解しながらやってみました。初めてのプログラミングでも、コードをちゃんと読めば理解できるので、いいかんじ。 #include <pebble.h> static Window *s_main_window; static GBitmap *s_bitmap; static BitmapLayer *s_bitmap_layer; static TextLayer *s_time_layer, *s_date_layer; static void update_time() { // Get a tm structure time_t temp = time(NULL); struct tm *tick_time = localtime(&temp); // Write the current hours and minutes