This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Because "hit enter as fast as you can" | |
/* | |
1. Requires serialport module (npm install serialport) | |
2. Run with node (node t2_log_boot.js) | |
3. Plug in tessel2. | |
*/ | |
/* Figure out what port your tessel2 is plugged into and update the SERIAL_PORT variable. */ | |
const SERIAL_PORT = '/dev/cu.usbmodem1412'; |