Files
LoLshield/examples/Animations/LoLShield_TextScrolling/LoLShield_TextScrolling.ino
T
jprodgers e5141bfbea Migration and reorganization post google code.
I've re-arranged and re-named a number of things in the move over from
google code. I've added a few animations and things as well.
2015-05-28 14:45:21 +02:00

40 lines
739 B
Arduino

#include "Charliplexing.h"
#include "Myfont.h"
#include "Arduino.h"
int leng=0; //provides the length of the char array
unsigned char test[]="full ASCII charset: $ % & ! [ ] { } \0"; //text has to end with '\0' !!!!!!
/* ----------------------------------------------------------------- */
/** MAIN program Setup
*/
void setup() // run once, when the sketch starts
{
LedSign::Init();
for(int i=0; ; i++){ //get the length of the text
if(test[i]==0){
leng=i;
break;
}
}
}
/* ----------------------------------------------------------------- */
/** MAIN program Loop
*/
void loop() // run over and over again
{
Myfont::Banner(leng,test);
}