Fork for LoDev S76S

Dependencies:   mbed BufferedSerial SX1276GenericLib USBDeviceHT

main.h

Committer:
steve918
Date:
2019-02-18
Revision:
21:6379a5650867
Parent:
17:98f2528e8399

File content as of revision 21:6379a5650867:

/*
 * Copyright (c) 2018 Helmut Tschemernjak
 * 30826 Garbsen (Hannover) Germany
  * Licensed under the Apache License, Version 2.0);
*/

#include "mbed.h"
#include "PinMap.h"
#include "BufferedSerial.h"
#include "GenericPingPong.h"


extern BufferedSerial *ser;
extern bool _useDprintf;
extern void InitSerial(int timeout, DigitalOut *led);  
extern void dump(const char *title, const void *data, int len, bool dwords = false);

extern void dprintf(const char *format, ...) __attribute__((format(printf,1,2)));
extern void rprintf(const char *format, ...) __attribute__((format(printf,1,2)));
extern void VAprintf(bool timstamp, bool newline, bool printEnabled, const char *format, va_list arg);