![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Websocket example
Fork of Websocket_Ethernet_HelloWorld by
Diff: seg.cpp
- Revision:
- 8:1b4bf6e5e029
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/seg.cpp Sun Dec 03 18:19:22 2017 +0000 @@ -0,0 +1,15 @@ +#include "seg.h" + +void displayAngle(Serial * seg, char d[4]){ + // Display Dot on 7segment + seg->putc(0x79);seg->putc(0x00);seg->putc(d[0]); + seg->putc(0x79);seg->putc(0x01);seg->putc(d[1]); + seg->putc(0x79);seg->putc(0x02);seg->putc(d[2]); + seg->putc(0x79);seg->putc(0x03);seg->putc(d[3]); +} + +void display_dot(Serial * seg){ + // Display Dot on 7segment + seg->putc(0x77); + seg->putc(0x02); +}