Testing code on bless - test pins

Our board doesn’t have a button, but in the documentation it states “In some cases, test results can be assessed in code, on others you may need an operator to visually or audibly verify a successful result and indicate that by pressing a button built into the device or by connecting two test pins.”

Can someone explain what’s required in the “connecting two test pins” scenario? What do you do physically and how to do you read this in software?


Essentially it’s two bare lines on the board; one goes to GND/3V3, the other to an imp GPIO. Make a connection between the two, the imp reads the pin value (ideally with a debounce; see the Button class) and registers a test pass or fail as determined by your code. It’s a button without the physical button.

Great thanks for this