// display revolving text SUVARNA from right to left
#include "ecen.h"
uint8_t font[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x46, 0x89, 0x89, 0x89, 0x89, 0x72, 0x00,
0x00, 0x7f, 0x80, 0x80, 0x80, 0x80, 0x7f, 0x00,
0x00, 0x3f, 0x40, 0x80, 0x80, 0x40, 0x3f, 0x00,
0x00, 0xfc, 0x12, 0x11, 0x11, 0x12, 0xfc, 0x00,
0x00, 0xff, 0x09, 0x19, 0x29, 0x49, 0x86, 0x00,
0x00, 0xff, 0x01, 0x02, 0x04, 0x08, 0xff, 0x00,
0x00, 0xfc, 0x12, 0x11, 0x11, 0x12, 0xfc, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};
void setup(){
volatile char *dir_A=0x21 , *dir_B=0x24;
*dir_A = 0xff, *dir_B = 0xff;
}
void loop(){
for(int i=0; i<64; i++){
long start = millis();
while(millis()-start < 300){
for(int j=0; j<8; j++){
pulse(~(0x80>>j), font[i+j]);
}
}
}
}