wide shoutbox
/listConnections - list all current connections to shoutbox
/version - return current version
/t - shout as mr.turing
/addXMPPRelay/(xmpp buddy name) - add buddy as an xmpp relay
/removeXMPPRelay/(xmpp buddy name) - remove buddy as xmpp relay
blog Submitted by Gareth on Mon, 12/07/2020 - 09:38
Based off the Bog standard "Blinky "Example contained in the NRF SDK :- C:\nRF5_SDK_17.0.2_d674dde\examples\peripheral\blinky\pca10059\mbr\ses\blinky_pca10059_mbr.emProject
Load in the project using Segger Studio ,
Select the main.c file , delete its contents and paste the contents below.
Should you wish to use the onboard buttons they are active low, which means that the input will be connected to ground when the button is activated.
The SW1 button has no external pull-up resistor, but the reset button (SW2) has a 10 k pull-up resistor.
To use SW1, P1.06 must be configured as an input with an internal pull-up resistor.
The LEDs are active low, which means that writing a logical zero '0' to the output pin will illuminate the LED.
SW2 is also connected to P0.19, P0.21, P0.23, and P0.25. This is done to simplify PCB routing. These GPIOs should not be used and should be left as input with no pull or be disconnected by firmware.