The Raspberry Pi HALĀ examples demonstrate how applications running directly on the VMX-pi host Raspberry Pi – written in a variety of programming languages – can access all VMX-pi functionality for use in Robotics Controller and Robotics Co-processor applications.
| Example | Description |
|---|---|
| Analog Inputs | Retrieves analog voltage values from 4 Analog Input Channels |
| CAN Bus Monitor | Retrieves and displays received CAN messages |
| CAN TX Loopback | Transmits CAN messages and receives those same messages |
| Digital Inputs | Retrieves High/Low state from all possible Digital Input Channels |
| Digital Outputs | Toggles the High/Low state of all possible Digital Output Channels |
| Encoders | Retrieves latest encoder count/direction from all possible Quadrature Encoder Input Channels |
| I2C | Transmits/Receives data over the VMX-pi I2C interface |
| IMU | Displays real-time orientation data (Pitch/Yaw/Roll) from the VMX-pi IMU |
| Interrupts | Handles interrupts on High/Low signal state transitions on all possible Interrupt-source Channels |
| PWM Generation | Generates PWM signals on all possible PWM Generator Channels |
| Real-time Clock (RTC) | Retrieves/Updates the VMX-pi Real-time Clock, synhronizes with Raspberry Pi system time/date |
| SPI | Transmits/Receives data over the VMX-pi SPI Interface |
| UART | Transmits/Receives data over the VMX-pi UART interface |
| VMX-pi Configuration | Retrieves/displays the current VMX-pi configuration data |
| LED Array | Controls a "PWM" (NeoPixel) LED Array with a soothing, pulsing purple color. |
