An fully working IMU-Filter and Sensor drivers for the 10DOF-Board over I2C. All in one simple class. Include, calibrate sensors, call read, get angles. (3D Visualisation code for Python also included) Sensors: L3G4200D, ADXL345, HMC5883, BMP085
LED.h
00001 // by MaEtUgR 00002 00003 #ifndef LED_H 00004 #define LED_H 00005 00006 #include "mbed.h" 00007 00008 class LED { 00009 00010 public: 00011 LED(); 00012 void shownumber(int number); 00013 void ride(int times); 00014 void roll(int times); 00015 void rollnext(); 00016 void tilt(int index); 00017 void set(int index); 00018 void reset(int index); 00019 int check(int index); 00020 void operator=(int value); 00021 00022 private: 00023 BusOut Led; 00024 int roller; 00025 }; 00026 00027 #endif
Generated on Wed Jul 13 2022 22:03:48 by 1.7.2