Successful acro and level mode now! Relying on MPU9250 as base sensor. I'm working continuously on tuning and features :) NEWEST VERSION ON: https://github.com/MaEtUgR/FlyBed (CODE 100% compatible/copyable)
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 Tue Jul 12 2022 20:19:36 by 1.7.2