Пример #1
0
int main()
{
	OrangutanBuzzer::play(">>a16");
	delay(500); // warming up

	lcd.initPrintf();

	lcd.print("Assert");
	assert(1 == 1); // make sure assert works

	test_qtr();
	test_analog();
	test_pushbuttons();
	test_buzzer();
	test_motors();
	test_lcd();
	test_leds();
	test_delay();

	lcd.clear();
	lcd.print("Success");
	
	buzzer.play("O5 c16");

	return 0;
}
Пример #2
0
int main()
{
test_getpid();
test_lcd();
//test_conmov();
//test_structarray();
//test_interrupt();
test_timer();


//p = (int*) ((int)shared_space | 0x100000);
//*p = 15; 

}
Пример #3
0
int main()
{
	delay_ms(500); // warming up

	lcd_init_printf();

	printf("\nAssert");
	assert(1 == 1); // make sure assert works

	test_qtr();
	test_pushbuttons();
	test_buzzer();
	test_motors();
	test_lcd();
	test_leds();
	test_analog();
	test_delay();

	clear();
	printf("\nSuccess");
	play("O5 c16");
	
	while(1);
}