Lab3 example program 2 with debug code

DAC Ticker

  • Sample code for part 2 of lab 3 using the DAC, called from a Ticker.
  • Note that to use AnalogOut from the Ticker (an ISR), we create a version without locking.
  • This version has extra code for debugging

History

Change to sleep_for default tip

2020-02-06, by WilliamMarshQMUL [Thu, 06 Feb 2020 22:42:30 +0000] rev 4

Change to sleep_for


Allow DAC to be called from Ticker with lock-free version

2019-02-04, by WilliamMarshQMUL [Mon, 04 Feb 2019 16:11:54 +0000] rev 3

Allow DAC to be called from Ticker with lock-free version


Library update; reduce stack size

2019-01-23, by WilliamMarshQMUL [Wed, 23 Jan 2019 17:56:08 +0000] rev 2

Library update; reduce stack size


Revised for mbed 5

2018-01-24, by WilliamMarshQMUL [Wed, 24 Jan 2018 22:59:37 +0000] rev 1

Revised for mbed 5


First version

2017-02-01, by WilliamMarshQMUL [Wed, 01 Feb 2017 13:38:02 +0000] rev 0

First version