Guten Tag zusammen, ich bin grad dabei, über ein Mikrocontroller einen
LCD Display und einige Lichtsensoren einzustimmen. Habe schon in dem
Forum-Bereich durchsucht und hab leider keine passende Hilfe gefunden.
Habe die lcd.h und lcd.c in mein Programm eingebunden, sowie die main.h
und wollte somit über mein Display "Hallo" anzeigen lassen. Habe gestern
mit ein Kollegen gesprochen und er konnte mir leider nicht weiter
helfen.
Also um es Konkret zu sagen, ich habe gestern hier um Forum eine
Zip-Datei gefunden für die lcd.h, lcd.c und main.h Quellcodes. Habe dann
heute Vormittag die Datein in meinem Programm eingebunden und bekomme
seither die folgende Fehlermeldungen:
Error 1 variable 'bargraph_V_data' must be const in order to be put
into read-only section by means of '__attribute__((progmem))'
Error 2 variable 'laufschrift_str' must be const in order to be put
into read-only section by means of '__attribute__((progmem))'
Error 3 variable 'laufschrift_G0' must be const in order to be put
into read-only section by means of '__attribute__((progmem))'
Error 4 variable 'laufschrift_G1' must be const in order to be put
into read-only section by means of '__attribute__((progmem))'
Error 5 variable 'laufschrift_G2' must be const in order to be put
into read-only section by means of '__attribute__((progmem))'
Error 6 variable 'laufschrift_G3' must be const in order to be put
into read-only section by means of '__attribute__((progmem))'
Error 7 variable 'noch_ein_Flash_String' must be const in order to be
put into read-only section by means of '__attribute__((progmem))'
Error 8 variable 'sinus' must be const in order to be put into
read-only section by means of '__attribute__((progmem))'
Ich bin mit meine Latein am Ende gekommen und versuche ob ihr mir helfen
könntet woran es an mir Liegt oder welchen Fehler ich getan habe.
Danke im Vorraus
mfg Dominik