Purpose
Print the received state of the controller attached to the CrcConnect.
When to use
When you want to verify if the CrcConnect has some issues.
Where to use
Inside the loop function, after having called Serial.begin
in the setup.
This function requires Serial communication, so make sure you called Serial.begin
in setup()
.
The Serial link takes some time to work its magic. Make sure you do not call this function every loop, for example by using a delay.
Returns
This function does not return a value once it has completed its tasks.
Main prototype and parameters
static void Crc::CrcLib::PrintControllerState()
The following parameters must be passed to the function for it to work properly:
No parameters needed.
Overloads
This function does not have any overloads. It can only be used as described by the main prototype.
Examples
More on this function
There is sadly nothing more to be said about this function…
Related articles
-
CrcLib Basic Programs (Système CrcDuino System) —
This page presents the most basic programs that should first be tried out by every program when first getting their hands on a CrcDuino.
Minimal program
-
GetBatteryVoltage() (Système CrcDuino System) —
Purpose
Read the potential difference between the 12V and GND green terminals (the board supply voltage).
When to use
-
GetDeltaTimeMicros() (Système CrcDuino System) —
Purpose
Gives you the execution time of your code in microseconds.
When to use
-
GetDeltaTimeMillis() (Système CrcDuino System) —
Purpose
Gives you the execution time of your code in milliseconds.
When to use
-
Initialize() (Système CrcDuino System) —
Purpose
Sets up the board to be able to run the
CrcLib
library properly.When to use
-
PrintControllerState() (Système CrcDuino System) —
Purpose
Print the received state of the controller attached to the CrcConnect.
When to use
-
PrintControllerState() {FR} (Système CrcDuino System) —
Objectif
Afficher l'état de la manette connectée au CRCduino par le biais de la CRCconnect.
Quand l’utiliser
-
Timer (Système CrcDuino System) —
Purpose
Delay a task in time or make it repeat periodically without blocking the CrcDuino.
When to use
-
Timer {FR} (Système CrcDuino System) —
Objectif
Retarder une tâche ou la faire exécuter en boucle sans bloquer le CRCduino.
Quand l’utiliser
-
Update() (Système CrcDuino System) —
Purpose
Updates all
CrcLib
members and routines. This allows the CrcDuino to update its time, LEDs, buzzer, inputs, and any other continuous functionality like communicating with the CrcConnect module.When to use
Add Comment