At89c2051 Projects Official
Read a potentiometer using the on-chip comparator (P3.6 and P1.1) to adjust duty cycle.
pos = 0;
while(1) if(button_pressed()) display_dice((random % 6) + 1); delay_ms(200); at89c2051 projects
Read a potentiometer using the on-chip comparator (P3.6 and P1.1) to adjust duty cycle.
pos = 0;
while(1) if(button_pressed()) display_dice((random % 6) + 1); delay_ms(200); at89c2051 projects