LED PWR #

The PWR (Power) LED indicates the device status.

Signal Meaning

Green

Power supply is connected.

Red

Cyclic communication with the connected expansion modules cannot be initialized, e.g. due to an incorrect configuration.

LED A1 … AX #

Depending on the device, up to 5 LEDs can be used freely:

  • RevPi Flat S, RevPi Connect 4 and RevPi Connect 5: LED A1 … A5

  • RevPi Connect S/SE: LED A1 … A3

  • RevPi Core S/SE: LED A1 … A2

The LEDs can be used for user-specific requirements such as indicating a network connection, indicating that a memory limit has been exceeded, monitoring a process and indicating faults.

The LEDs can be switched in the command line application piTest with the variable RevPiLED.

The output RevPiLED has a defined byte length and therefore has a certain number of bits that are read from right to left. Certain bit positions are each assigned to an LED. The LED is switched by setting the respective bits to 0 or 1.

An LED signal is switched in the command line with the command piTest -w RevPiLED,x , where x corresponds to the decimal value calculated from the respective bit pattern.

To switch several LEDs simultaneously, the respective decimal values are added together.

Example: If LED A1 shall light up red and LED A2 green at the same time, the command is piTest -w RevPiLED,17 (bit pattern: 0001 0001 = decimal values 1+16).

Note

If a signal is to be added to an existing LED circuit, the value for all desired signals must be recalculated and rewritten.