Comprendi?
14 years ago
Hey so...can you understand this?...
#define PORTA (*(volatile
unsigned char *) 0x3B)
...
unsigned char i = PORTA; //
read
...
PORTA = i; //write
cause i can ;D
yeah im a nerd... but im learning to make a robot.
i decided to make it a non-traditional robot.
it's going to...be remote controlled. sure it means the software will be more complex, HOWEVER.
if i want to sell another one, im looking at only a day to create. because i wouldn't need to do the weeks of personalized programing. or measuring...or optimization for hilly yards.
all that is above is assigning a pin of the microcontroller to a specified C programming action. PORTA being the action, 0x3B is trhe pin location, unsigned char is the pin. anyway. simplistic no?
ugh.
i forget if i told you guys i was making a robot in the first place...meh. if its successful (like epically successful which i doubt.) i plan to sell it to a company for a royality. i hope its successful enough though to get me on daily planet. love that show.
#define PORTA (*(volatile
unsigned char *) 0x3B)
...
unsigned char i = PORTA; //
read
...
PORTA = i; //write
cause i can ;D
yeah im a nerd... but im learning to make a robot.
i decided to make it a non-traditional robot.
it's going to...be remote controlled. sure it means the software will be more complex, HOWEVER.
if i want to sell another one, im looking at only a day to create. because i wouldn't need to do the weeks of personalized programing. or measuring...or optimization for hilly yards.
all that is above is assigning a pin of the microcontroller to a specified C programming action. PORTA being the action, 0x3B is trhe pin location, unsigned char is the pin. anyway. simplistic no?
ugh.
i forget if i told you guys i was making a robot in the first place...meh. if its successful (like epically successful which i doubt.) i plan to sell it to a company for a royality. i hope its successful enough though to get me on daily planet. love that show.
FA+

im working on the code though.