Skip to content

Instantly share code, notes, and snippets.

@berkutta
Last active May 14, 2017 21:21
Show Gist options
  • Save berkutta/30278e1bbf29968b6e78822320f6ce74 to your computer and use it in GitHub Desktop.
Save berkutta/30278e1bbf29968b6e78822320f6ce74 to your computer and use it in GitHub Desktop.
uint8_t mac[6];
char mac_string[17];
wifi_get_macaddr(0x00, mac);
sprintf(mac_string, "%X:%X:%X:%X:%X:%X", mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]);
graphic_puts_5x7(5, 35, "No WiFi");
graphic_puts_5x7(5, 45, mac_string);
graphic_puts_5x7(5, 55, "John Doe");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment