Sensor Watch  0.0.0
A board replacement for the classic Casio F-91W wristwatch, powered by a Microchip SAM L22 microcontroller.
Functions
Debug UART

This section covers functions related to the debug UART, available on pin D1 of the 9-pin connector. More...

Functions

 __attribute__ ((deprecated("Use printf to log debug messages over USB."))) void watch_enable_debug_uart(uint32_t baud)
 Initializes the debug UART. More...
 

Detailed Description

This section covers functions related to the debug UART, available on pin D1 of the 9-pin connector.

Warning
These functions were used early on in development, before the TinyUSB CDC was implemented. You can now print debug messages to the USB console using printf, rendering this bit irrelevant. These methods will likely be refactored out in the future, in favor of a more full-featured UART on the nine-pin connector.

Function Documentation

◆ __attribute__()

__attribute__ ( (deprecated("Use printf to log debug messages over USB."))  )

Initializes the debug UART.

Outputs a string on the debug UART.

Outputs a single character on the debug UART.

Parameters
baudThe baud rate
cThe character you wish to output.
sA null-terminated string.