ATtiny85 Template Code
Code snippets for the ATtiny85
|
Go to the source code of this file.
Functions | |
void | uartPrint (const char *cszString) |
void | uartPrintP (const char *cszString) |
void | uartInt (uint16_t value) |
void | uartHex (uint16_t value) |
void uartHex | ( | uint16_t | value | ) |
Print an unsigned 16 bit value in hexadecimal
Print the given value in hexadecimal format to the UART.
value | the value to print. |
Definition at line 74 of file uart_print.c.
void uartInt | ( | uint16_t | value | ) |
Print an unsigned 16 bit value in decimal
Print the given value in decimal format to the UART.
value | the value to print. |
Definition at line 50 of file uart_print.c.
void uartPrint | ( | const char * | cszString | ) |
Print a string from RAM
This function simply prints the nul terminated string from RAM to the serial port.
cszString | pointer to a character array in RAM. |
Definition at line 22 of file uart_print.c.
void uartPrintP | ( | const char * | cszString | ) |
Print a string from PROGMEM
This function simply prints the nul terminated string from PROGMEM to the serial port.
cszString | pointer to a character array in PROGMEM. |
Definition at line 36 of file uart_print.c.