mirror of
https://github.com/supleed2/ELEC50003-P1-CW.git
synced 2024-12-22 21:45:49 +00:00
Pin change
This commit is contained in:
parent
5f3d1b5366
commit
cc113aa086
|
@ -7,7 +7,7 @@ void setup() {
|
||||||
M5.begin();
|
M5.begin();
|
||||||
M5.IMU.Init();
|
M5.IMU.Init();
|
||||||
Serial.begin(115200);
|
Serial.begin(115200);
|
||||||
Serial1.begin(115200, SERIAL_8N1, 26, 36);
|
Serial1.begin(115200, SERIAL_8N1, 26, 0);
|
||||||
}
|
}
|
||||||
void loop() {
|
void loop() {
|
||||||
M5.IMU.getAhrsData(&pitch, &roll, &yaw);
|
M5.IMU.getAhrsData(&pitch, &roll, &yaw);
|
||||||
|
|
Loading…
Reference in a new issue