Created
January 24, 2013 23:59
-
-
Save anonymous/4629933 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SPI.h> | |
#include <max7456.h> | |
Max7456 osd; | |
void setup() | |
{ | |
charact currentChar; | |
char number[]="000"; | |
SPI.begin(); | |
Serial.begin(9600); | |
osd.init(10); | |
osd.activateOSD(false); // Deactivate osd display. | |
for(int i = 0 ; i <= 0xff;i++) | |
{ | |
Serial.println(); | |
Serial.print("inserting "); | |
dtostrf(i,3,0,number); | |
Serial.print(number); | |
Serial.print(" / 255 -> "); | |
osd.getCharacter(currentChar,i&0xF0, i&0xF0); | |
Serial.print(*currentChar); | |
} | |
} | |
void loop() | |
{ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment