Cleanup. Font writer included among examples
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
|
||||
MAX7456 osd;
|
||||
unsigned long counter = 0;
|
||||
byte tab[]={0xC8,0xC9};
|
||||
byte tab[]={0xED,0xEE, 0xEF, 0xF3};
|
||||
|
||||
void setup()
|
||||
{
|
||||
@ -14,16 +14,16 @@ void setup()
|
||||
|
||||
osd.init(6);
|
||||
osd.setDisplayOffsets(60,18);
|
||||
osd.setBlinkParams(_8fields, _BT_BT);
|
||||
osd.setBlinkParams(_8fields, _3BT_BT);
|
||||
|
||||
osd.activateOSD();
|
||||
osd.printMAX7456Char(0x01,0,1);
|
||||
osd.printMAX7456Char(0x12,0,1);
|
||||
osd.print("Hello world :)",1,3);
|
||||
osd.print("Current Arduino time :",1,4);
|
||||
osd.print("Current time :",1,4);
|
||||
|
||||
osd.printMAX7456Char(0xD1,9,6,true);
|
||||
osd.printMAX7456Char(0xFB,9,6,true);
|
||||
osd.print("00'00\"",10,6);
|
||||
osd.printMAX7456Chars(tab,2,12,7);
|
||||
osd.printMAX7456Chars(tab,sizeof(tab),12,7);
|
||||
pinMode(redLed,OUTPUT);
|
||||
pinMode(greenLed,OUTPUT);
|
||||
|
||||
|
Reference in New Issue
Block a user