Re: Ein paar Fragen zum Aufbau....
Posted: Mon 30. May 2011, 15:12
Sag doch mal einer ob das so richtig ist..
support and development board for the MultiDisplay project.
https://mdforum.designer2k2.at/
Code: Select all
//Pin Config:
#define DATAOUT 57 //MOSI 17 on UNO/Duemilanove, 57 on MEGA
#define DATAIN 12 //MISO
#define SPICLOCK 23 //Clock 13 on UNO/Duemilanove, 23 on MEGA (13 cant bring the power!)
Code: Select all
//Pin Config:
#define DATAOUT 17 //MOSI 17 on UNO/Duemilanove, 57 on MEGA
#define DATAIN 12 //MISO
#define SPICLOCK 13 //Clock 13 on UNO/Duemilanove, 23 on MEGA (13 cant bring the power!)
Code: Select all
#define DATAOUT 17 //MOSI
#define DATAIN 12 //MISO
#define SPICLOCK 13 //Clock
passuff wrote:Bootloader?Fusebits?
Hab den Arduino Bootloader für 328P 16 MHz aus dem Bootloader Ordner des Arduino IDE
LF : 0xFF
HF : 0xD8
EF : 0xFD
LB : 0xFF
Code: Select all
diecimila.bootloader.low_fuses=0xff
diecimila.bootloader.high_fuses=0xdd
diecimila.bootloader.extended_fuses=0x00
...
diecimila.bootloader.unlock_bits=0x3F
diecimila.bootloader.lock_bits=0x0F
Code: Select all
Serial.println("MultiDisplay PRE!");
Code: Select all
//Read the Values from the EEPROM back
Screen = EEPROM.read(100); //what screen was last shown?
Brightness = EEPROM.read(105); //The Brightness from the LCD
LDcalPoint = EEPROM.read(205);
CalLD = EEPROMReadDouble(200)/1000.0; //gets the float back (thats accurate enough)
lcd.init(); //Inits the LCD
lcdShowIntro(InitTime); //Shows the Into
Code: Select all
//Read the Values from the EEPROM back
Screen = EEPROM.read(100); //what screen was last shown?
Brightness = EEPROM.read(105); //The Brightness from the LCD
LDcalPoint = EEPROM.read(205);
CalLD = EEPROMReadDouble(200)/1000.0; //gets the float back (thats accurate enough)
Serial.println("1");
lcd.init(); //Inits the LCD
Serial.println("2");
lcdShowIntro(InitTime); //Shows the Into
Serial.println("3");