NerfUS / Mbed 2 deprecated NerfUS-Coord

Dependencies:   NerfUSXbee PinDetect EthernetInterface JSON MFRC522 WebSocketClient mbed-rtos mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ports.hpp Source File

ports.hpp

00001 #pragma once
00002 #include "mbed.h"
00003 //#include "rtos.h"
00004 //#include "lpc17xx.h"
00005 
00006 //Printf to pc and add new line
00007 #define toPc(str, ...) pc.printf(str, ##__VA_ARGS__); pc.printf("\r\n");
00008 #define cls() pc.printf("\033[2J\r\n"); //Clear pc screen
00009 
00010 extern Serial pc;
00011 extern DigitalOut leds[4];