A Jedi light saber controller program with the following "features": - Using RGB LEDs - User can change light colors with a button - Motion dependent (PWM) sounds with a MPU6050 motion sensor - Low voltage detection
Dependencies: L152RE_USBDevice STM32_USB48MHz Watchdog mbed
Diff: LightSaber.h
- Revision:
- 2:59a7d4677474
- Parent:
- 0:0bb3687e39da
- Child:
- 3:0c2d9355ed8c
--- a/LightSaber.h Thu Mar 24 21:53:12 2016 +0000 +++ b/LightSaber.h Thu Mar 24 22:42:59 2016 +0000 @@ -25,14 +25,6 @@ RED } color_type; -typedef struct { - int ax; - int ay; - int az; - int yaw; - int pitch; - int roll; -} MPU_data_type; // function prototypes bool motion_sensor_init();