Game
Embed:
(wiki syntax)
LEDs Class Reference
#include <LEDs.h>
Public Member Functions | |
| LEDs () | |
| Constructor. | |
| ~LEDs () | |
| Destructor. | |
| void | Speed (bool leds_on, float speed, float max_speed, Gamepad &Device) |
| Changes the state of the LEDs depending on the speed of the vehicle. | |
| void | Start_Sequence (bool leds_on, int state, Gamepad &Device) |
| Changes the state of the LEDs for race count down. | |
| void | Clear (Gamepad &Device) |
| Turns off all LEDs. | |
Detailed Description
LEDs Class.
Controls the LEDs on the device.
- Date:
- Mar, 2020
Definition at line 20 of file LEDs.h.
Constructor & Destructor Documentation
Member Function Documentation
| void Clear | ( | Gamepad & | Device ) |
| void Speed | ( | bool | leds_on, |
| float | speed, | ||
| float | max_speed, | ||
| Gamepad & | Device | ||
| ) |
| void Start_Sequence | ( | bool | leds_on, |
| int | state, | ||
| Gamepad & | Device | ||
| ) |
Generated on Wed Jul 20 2022 17:42:24 by
1.7.2