I tried to use your code, but I have problems. It seems as if some of your checkusm-s are incorrect…
laser_module_enable should be 35529 instead of 42111 and
uart0.baud_rate == 33990 instead of 10922.
Actually 10922 is the checksum of baud_rate.
Is there anyone who succeded to port the project back to the online compiler? Why did you need to compile the project offline? mbed library has built in interrupt and ticker handling stuff…
Imported from wikidot