Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <Gyro/Gyro.h>
- #include <Wire/Wire.h>
- #include <wirish/wirish.h>
- Gyro gyro;
- void setup(){
- }
- void loop(){
- gyro.readValues();
- }
- __attribute__((constructor)) void premain() {
- init();
- }
- int main(void) {
- setup();
- while (true) {
- loop();
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement