I made some boards myself, i programmed them using C language.
The code looked something like this:
#include <avr/io.h>
#include <stdlib.h>
#define LED (1<<PB0)
void main()
{
int i;
unsigned char t = LED;
DDRB = t;
for(;;)
{
PORTB = t;
t ^= LED;
for(i = 0; i < 10000; i++);
}
}
So is there a way to make things from scratch - just like this? Without using the IDE?