hello everyone,
i just tried the attached code in Bascom-avr and the led blinked each 4 seconds.
i used the $crystal = 8000000 and waitms 500.
what did i mess to make it blink each half second.
$regfile "m16def.dat" $crystal = 8000000 Config Lcdpin = Pin , Db4 = Portb.1 , Db5 = Portb.2 , Db6 = Portb.3 , Db7 = Portb.4 , E = Portb.5 , Rs = Portb.6 Config Lcd = 16 * 4 Config Portd.6 = Output : Portd.6 = 0 Cls Lcd " ayman" Do Set Portd.6 Waitms 500 Reset Portd.6 Waitms 500 Loop End