Change to examples so they also builds
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
#include <SPI.h>
|
||||
#include <max7456.h>
|
||||
#include <MAX7456.h>
|
||||
|
||||
#define redLed 3
|
||||
#define greenLed 4
|
||||
|
||||
Max7456 osd;
|
||||
MAX7456 osd;
|
||||
unsigned long counter = 0;
|
||||
byte tab[]={0xC8,0xC9};
|
||||
|
||||
@ -12,18 +12,18 @@ void setup()
|
||||
{
|
||||
SPI.begin();
|
||||
|
||||
osd.init(10);
|
||||
osd.init(6);
|
||||
osd.setDisplayOffsets(60,18);
|
||||
osd.setBlinkParams(_8fields, _BT_BT);
|
||||
|
||||
osd.activateOSD();
|
||||
osd.printMax7456Char(0x01,0,1);
|
||||
osd.printMAX7456Char(0x01,0,1);
|
||||
osd.print("Hello world :)",1,3);
|
||||
osd.print("Current Arduino time :",1,4);
|
||||
|
||||
osd.printMax7456Char(0xD1,9,6,true);
|
||||
osd.printMAX7456Char(0xD1,9,6,true);
|
||||
osd.print("00'00\"",10,6);
|
||||
osd.printMax7456Chars(tab,2,12,7);
|
||||
osd.printMAX7456Chars(tab,2,12,7);
|
||||
pinMode(redLed,OUTPUT);
|
||||
pinMode(greenLed,OUTPUT);
|
||||
|
||||
|
Reference in New Issue
Block a user