Skip to content

Releases: kf5011/s1.2

Initial button

12 Nov 18:56
Compare
Choose a tag to compare
  1. Locate the buttons (switches SW2 and SW3) on the FRDM K64F Schematic.
  2. Using the schematic and observing the behaviour of the program what can be deduced about:
    • What value is read when the button is
      • pressed?
      • not pressed?
    • Why is this the case?
  3. Add a wrapper function that evaluates as
    bool ispressed( /*button*/ )
    that returns the correct state of the button.