1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//! Debug
//!
//! This example demonstrates how to output debug data over serial.
//! It uses the built-in hardware-level UART controller in order to
//! transmit data.
//!
//! The debug module reserves UART4 as the designated peripheral for
//! all serial communication. A good way to verify this is working
//! would be to hook up the RX pin of an arduino to pin 8 on the teensy.
//! Then you can open "serial monitor" on your computer and watch the data
//! coming back from the teensy.
//!
//! The debug module provides some convenience methods for transmitting
//! numbers, hex values, and ascii byte arrays.
//!
//! Note: The default baud rate is 115200
extern crate teensycore;
use *;
use *;
main!;