Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: R1Arobo_Maika_B 2021Arobo_UMAPYOI 2021Arobo_YUMIPYOI
Diff: Serial6050.h
- Revision:
- 4:413d60ebdcf2
- Parent:
- 2:00a8daf9203b
--- a/Serial6050.h Wed Apr 17 07:57:05 2019 +0000
+++ b/Serial6050.h Wed Sep 18 07:52:24 2019 +0000
@@ -17,8 +17,9 @@
int resetValue;
int Bias;
void intReceive();
+ bool useResetPin;
public:
- Serial6050(PinName tx, PinName rx, PinName reset);
+ Serial6050(PinName tx, PinName rx, PinName resetPin);
void init();
void reset();
volatile uint8_t data;