-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
38 additions
and
483 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,6 @@ | ||
#ifndef GYROACCEL_H | ||
#define GYROACCEL_H | ||
|
||
|
||
<<<<<<< HEAD:watchX/lib/mpu6050/gyroaccel.h | ||
//#include "watchXmpu6050.h" | ||
======= | ||
#include <MPU6050_tockn.h> | ||
>>>>>>> 7491ed92dc86d1f629b90c364edffced25f63699:watchX/lib/mpu6050/gyroaccel.h | ||
|
||
|
||
|
||
|
||
|
||
extern int RawValue[6]; | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,15 @@ | ||
#include "watchX.h" | ||
#include "diag.h" | ||
#include "oled.h" | ||
<<<<<<< HEAD | ||
#include "temperature.h" | ||
#include "watchXmpu6050.h" | ||
|
||
void drawDiag(){ | ||
======= | ||
|
||
//#include "gyroaccel.h" | ||
|
||
//unsigned long last=0; | ||
|
||
void drawDiag(){ | ||
|
||
drawString(16,0,"< DIAGNOSTICS >",smallFont); | ||
/* | ||
if(millis()-last>1000){ | ||
batterylevel=readBattery(); | ||
last=millis(); | ||
} | ||
*/ | ||
/* | ||
uint8_t buf[128*8]; | ||
NanoCanvas c(128,64,buf); | ||
c.charF6x8(16,0,"< DIAGNOSTICS >" ); | ||
>>>>>>> 7491ed92dc86d1f629b90c364edffced25f63699 | ||
drawString(16,0,"< DIAGNOSTICS >",smallFont); | ||
char strbuf[10]={temperature/10+48,((int)temperature%10)+48,0}; | ||
drawString(0,8,strbuf,smallFont); | ||
strbuf[0]=((((unsigned long)(mpu.readRawAccel().XAxis/100)%100)/10)%10)+48; | ||
strbuf[1]=((unsigned long)(mpu.readRawAccel().XAxis/100)%10)+48 ; | ||
strbuf[2]=0; | ||
if(mpu.readRawAccel().XAxis!=0) | ||
drawString(0,16,strbuf,smallFont); | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.