Whenever I start learning (or just playing around) with a new programming language, the first thing I do is type the good oldĀ Hello World! program. This is the one from word press:
Welcome to WordPress. This is your first post. Edit or delete it, then start writing!
But my favorite hello world program up to now is the one for the ASURO robot :
#include "asuro.h" unsigned int led_state = 0; void toggleLED(); int main () { Init(); while (1){ toggleLED(); Msleep(500); } return 0; } void toggleLED() { if (! led_state) { led_state = 1 ; } else { led_state = 0 ; } PORTD= (PORTD&~(1 << PD6 ) ) | ( led_state << PD6 ) ; }