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
#include <avr/io.h> | |
#include <stdio.h> | |
#include <stdint.h> | |
#define BAUD 19200 | |
#define important_magic_number F_CPU/16/BAUD-1 | |
int32_t main{ | |
begin(important_magic_number); | |
/* need to figure out which ports /registers/pins to use*/ |
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
#include <stdio.h> | |
struct ret | |
{ | |
char *id; | |
int accel_x; | |
int accel_y; | |
int accel_z; | |
int gyro_x; | |
int gyro_y; |