-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New file: imu-interface.cpp/.h. It's still empty... Also, added an es…
…c_init function and moved some lines from main.cpp to there. cmd_servo_sweep allows you to control the throttle of the rotors with j and k (down/up) and z zero's the rate
- Loading branch information
Showing
7 changed files
with
109 additions
and
25 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/* | ||
* imu-interface.cpp | ||
* | ||
* Created on: Dec 30, 2011 | ||
* Author: jairo | ||
*/ | ||
#include "wirish.h" | ||
#include "imu-interface.h" | ||
|
||
|
||
void imu_print_data() | ||
{ | ||
while(!SerialUSB.available()) | ||
{ | ||
SerialUSB.print(Serial3.read()); | ||
SerialUSB.print(":"); | ||
delay(20); | ||
|
||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* | ||
* imu-interface.h | ||
* | ||
* Created on: Dec 30, 2011 | ||
* Author: jairo | ||
*/ | ||
|
||
#ifndef IMU_INTERFACE_H_ | ||
#define IMU_INTERFACE_H_ | ||
|
||
void imu_print_data(); | ||
|
||
|
||
#endif /* IMU_INTERFACE_H_ */ |
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