Blame view

RIOT/tests/buttons/README.md 595 Bytes
a752c7ab   elopes   add first test an...
1
2
3
4
5
6
7
8
9
10
11
12
13
  # On-Board Button Test
  
  This tests initializes all on-board buttons available, currently up to 4 in
  total. Each button is configured as an input with interrupt on button press
  or release depending on the configured TEST_FLANK.
  
  # Expected Result
  
  When a button is pressed (and/or released) an interrupt fires which results in
  a message indicating which button was used. The test naturally qualifies for
  manual testing only. Nevertheless, it prints "[SUCCESS]" after all buttons
  were initialized successfully or "[FAILED] <msg>" on error, so it can be used
  for limited automated testing as well.