In case we have some TS06.1 hardware together I thought we should have a test program ready to try out.  I’m not sure what pins to assign to LEDs, but that’s easy to change.

int main(void)
{
// Configure LED-pins as outputs
nrf_gpio_cfg_output(LED_0);
nrf_gpio_cfg_output(LED_1);
// Make sure they are both off
nrf_gpio_pin_clear(LED_0);
nrf_gpio_pin_clear(LED_1);
// LED 0 only.
while (true)
{
// Send “TS” in Morse code
dah(); symbol_space();
dit(); dit(); dit(); symbol_space();
word_space();
}
}

Leave a Reply