Hello,
PaulRB - the problem with my code that works with the flip dot screen is that it's protocol is not open and so by posting the full code here I would brake the copywrites. This is why I changed the code below a bit:
// Where you see PROTOCOL - this means that I use the flipdot protocol that is copywritghts protected
#include <SoftwareSerial.h>
SoftwareSerial mySerial(10, 11); // RX, TX
byte send_data_buffer [] = { PROTOCOL, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, PROTOCOL };
byte ikona1 [] = { PROTOCOL, 0x08, 0x1C, 0x3E, 0x7F, 0x22, 0x22, 0x22, PROTOCOL };
byte ikona2 [] = { PROTOCOL, 0x3F, 0x21, 0x61, 0x41, 0x41, 0x41, 0x7F, PROTOCOL };
byte ikona3 [] = { PROTOCOL, 0x1C, 0x63, 0x00, 0x36, 0x00, 0x22, 0x1C, PROTOCOL };
byte kotek [] = { PROTOCOL, 0x00, 0x04, 0x46, 0x7F, 0x78, 0x48, 0x00, PROTOCOL };
void setup() {
mySerial.begin(9600);
//while (!Serial);
}
void loop() {
for (int x=0;x<11;x++) mySerial.write(kotek[x]);
delay(15000);
for (int x=0;x<11;x++) mySerial.write(ikona1[x]);
delay(15000);
for (int x=0;x<11;x++) mySerial.write(ikona2[x]);
delay(15000);
for (int x=0;x<11;x++) mySerial.write(ikona3[x]);
delay(15000);
for (int x=0;x<11;x++) mySerial.write(send_data_buffer[x]);
delay(15000);
}
The RTC issue. This program is running on Yun and one of the main uses for this board would be internet connection (blynk app), so I figured out that I could just grab the time from the internet via some API. Didn't research this but I'm just sure, there are easy ways to ask for accurate time, and than to parse it from some json being send at me.
The idea to make a clock with minutes only. Good idea, this will make ma go through the whole logic, before the problem with adding arrays will occure.
odometer - the clock that you've shown is a bit clock of some kind, true?