Para o mario

Dependencies:   mbed USBDevice Buffer

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.h Source File

main.h

00001 /*
00002  * Copyright (c) 2017 Helmut Tschemernjak
00003  * 30826 Garbsen (Hannover) Germany
00004  * Licensed under the Apache License, Version 2.0);
00005  */
00006 
00007 #include "mbed.h"
00008 #include "PinMap.h"
00009 #include "BufferedSerial.h"
00010 #include "Transmitter.h"
00011 
00012 void SystemClock_Config(void);
00013 
00014 extern BufferedSerial *ser;
00015 extern void dump(const char *title, const void *data, int len, bool dwords = false);
00016 
00017 #define dprintf(...) { ser->printf(__VA_ARGS__); ser->printf("\r\n"); }