Alexxx2005 hat geschrieben:
Hey JP112SDL,
Beim Arduino V2 Pro Mini ist die Belegung am Programmierausgang
nicht immer gleich, bei mir war es anders als am FTDI , zusätzlich
muss noch RX und TX getauscht werden, das war das ganze Problem.
Vielleicht hilft es einem anderen Foren User bei der Fehlersuche.
Viele Grüße Alex
Dein ursprünglich gemeldeter Fehler:
Code: Alles auswählen
Arduino: 1.6.5 (Windows 7), Platine: "Arduino Pro or Pro Mini, ATmega328 (3.3V, 8 MHz)"
In file included from HM-SEC-SC.ino:22:0:
C:\arduino_sketchbook\libraries\EnableInterrupt-master/EnableInterrupt.h:22:125: note: #pragma message: NOTICE: *** EnableInterrupt library version pre-0.9.6. This is not a problem. Keep calm, and carry on. ***
#pragma message("NOTICE: *** EnableInterrupt library version pre-0.9.6. This is not a problem. Keep calm, and carry on. ***")
^
In file included from HM-SEC-SC.ino:27:0:
C:\arduino_sketchbook\libraries\AskSinPP-master/ThreeState.h:131:24: error: 'State' is not a class or namespace
uint8_t posmap[4] = {State::PosC,State::PosC,State::PosB,State::PosA};
^
C:\arduino_sketchbook\libraries\AskSinPP-master/ThreeState.h:131:36: error: 'State' is not a class or namespace
uint8_t posmap[4] = {State::PosC,State::PosC,State::PosB,State::PosA};
^
C:\arduino_sketchbook\libraries\AskSinPP-master/ThreeState.h:131:48: error: 'State' is not a class or namespace
uint8_t posmap[4] = {State::PosC,State::PosC,State::PosB,State::PosA};
^
C:\arduino_sketchbook\libraries\AskSinPP-master/ThreeState.h:131:60: error: 'State' is not a class or namespace
uint8_t posmap[4] = {State::PosC,State::PosC,State::PosB,State::PosA};
^
HM-SEC-SC.ino: In function 'void setup()':
HM-SEC-SC:149: error: 'as::Position::State' is not a class or namespace
HM-SEC-SC:149: error: 'as::Position::State' is not a class or namespace
HM-SEC-SC:149: error: 'as::Position::State' is not a class or namespace
HM-SEC-SC:149: error: 'as::Position::State' is not a class or namespace
In file included from HM-SEC-SC.ino:27:0:
C:\arduino_sketchbook\libraries\AskSinPP-master/ThreeState.h: In instantiation of 'void as::ThreeStateGenericChannel<Sensor, HALTYPE, List0Type, List1Type, List4Type, PEERCOUNT>::trigger(as::AlarmClock&) [with Sensor = as::TwoPinPosition; HALTYPE = Hal; List0Type = SCList0; List1Type = SCList1; List4Type = as::RegList4<as::DefaultRegisterList4>; int PEERCOUNT = 10]':
HM-SEC-SC.ino:167:1: required from here
C:\arduino_sketchbook\libraries\AskSinPP-master/ThreeState.h:85:5: error: 'PosA' is not a member of 'as::Position::State'
case Sensor::State::PosA:
^
C:\arduino_sketchbook\libraries\AskSinPP-master/ThreeState.h:88:5: error: 'PosB' is not a member of 'as::Position::State'
case Sensor::State::PosB:
^
C:\arduino_sketchbook\libraries\AskSinPP-master/ThreeState.h:91:5: error: 'PosC' is not a member of 'as::Position::State'
case Sensor::State::PosC:
^
'as::Position::State' is not a class or namespace
Dieser Report hätte mehr Informationen mit
"Ausführliche Ausgabe während der Kompilierung"
aktiviert in Datei > Einstellungen
hängt
definitiv nicht mit vertauschter RX/TX an der Hardware zusammen.
Zumal er bereits beim Kompilieren auftrat... Noch lange bevor jeglicher Zugriff auf den FTDI/Pro Mini statt findet.