Wohin kommen die CB-Funktionen????
CDispatcher Dispatcher( UartPC UartPC_OnTxLine, UartPC_OnRxLine, NOD! Main - Uart.Execute/OnRx/TxLine
// LedSystem LedSystem_OnStateChanged, // NOD! SetState -> LedSystem_OnSetOn, LedSystem_OnSetOff, // Dispatcher -> SetOn/Off // MotorLeft MotorLeft_OnStateChanged, // NOD! MotorLeft_OnVelocityChanged, // NOD! MotorLeft_OnMovePositive, // Dispatcher -> Set+/-Stop MotorLeft_OnMoveNegative, MotorLeft_OnStop, // MotorRight MotorRight_OnStateChanged, // NOD! MotorRight_OnVelocityChanged, // NOD! MotorRight_OnMovePositive, // Dispatcher -> Set+/-Stop MotorRight_OnMoveNegative, MotorRight_OnStop, // ServoLeft ServoLeft_OnStateChanged, // NOD! ServoLeft_OnSetPosition, // Dispatcher -> SetPWM // ServoRight ServoRight_OnStateChanged, // NOD! ServoRight_OnSetPosition); // Dispatcher -> SetPWM
[env:genericSTM32F103C8] platform = ststm32 board = genericSTM32F103C8 framework = arduino debug_tool = stlink upload_protocol = stlink build_flags = -fexceptions
Section in “platformio.ini”, “-fexceptions” für try/catch(int exception)