M mhelin Well-known member Joined Mar 12, 2005 Messages 775 Location Tampere, Finland Oct 7, 2022 #21 See arduino example code here where a LED is toggled: https://www.arduino.cc/en/Tutorial/BuiltInExamples/Debounce
See arduino example code here where a LED is toggled: https://www.arduino.cc/en/Tutorial/BuiltInExamples/Debounce
ruffrecords Well-known member Joined Nov 10, 2006 Messages 16,936 Location Norfolk - UK Oct 9, 2022 #22 Just completed the assembler version. As expected it is only 90 bytes compared to the 200+ for C. Many thanks for all the help and suggestions. Cheers Ian
Just completed the assembler version. As expected it is only 90 bytes compared to the 200+ for C. Many thanks for all the help and suggestions. Cheers Ian
Newmarket Well-known member GDIY Supporter Joined Oct 10, 2016 Messages 2,253 Location Brighton Sussex UK Oct 12, 2022 #23 Assembler Rules My prejudice
boji Well-known member Joined Jan 6, 2010 Messages 2,400 Location Maryland, USA Oct 20, 2022 #24 Late to party. Was going to show my example using millis(). You assembler folks remain a mysterious bunch.
Late to party. Was going to show my example using millis(). You assembler folks remain a mysterious bunch.