Library for ELEC2645 Gamepad PCB. University of Leeds Version 2 January 2020
Dependents: ELEC2645_Ticker_WAV ELEC2645_Project_username ELEC2645_Project_el18vgt ELEC2645_Project_el17oc11 ... more
Diff: Gamepad.h
- Revision:
- 18:e0a4f15a7750
- Parent:
- 17:cf1e1ffcf773
- Child:
- 19:c2bb79a10b3c
--- a/Gamepad.h Sun Mar 05 19:01:31 2017 +0000 +++ b/Gamepad.h Sun Mar 05 19:28:14 2017 +0000 @@ -124,7 +124,7 @@ *@param led number (0 to 5) *@param value in range 0.0 to 1.0 */ - void led(int n,float val); + void led(int n,float val) const; /** Read potentiometer *@returns potentiometer value in range 0.0 to 1.0