assembly_project/Simulator.ini
Yohan Boujon d9e1f2ac2d Etape 0
2023-03-13 09:48:08 +01:00

23 lines
276 B
INI

func void Init_Buttons(void)
{
PORTA &= ~(1<<8);
}
func void CapteurOn()
{
PORTA |= (1<<8);
}
func void CapteurOff()
{
PORTA &= ~(1<<8);
}
Init_Buttons();
KILL button *
define button "Active Capteur","CapteurOn()"
define button "Deactive Capteur","CapteurOff()"