EIoT LoRa node 1 - Working ok

Dependencies:   BufferedSerial SX1276GenericLib-node1 mbed

Fork of DISCO-L072CZ-LRWAN1_LoRa_node by Santiago Gil

main.h

Committer:
sagilar
Date:
2018-10-08
Revision:
13:289b91418e96
Parent:
12:a6a37ba1feff

File content as of revision 13:289b91418e96:

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

#include "mbed.h"
//#include "mbed-os.h"
#include "PinMap.h"
#include "BufferedSerial.h"
#include "GenericPingPong.h"

void SystemClock_Config(void);

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

#define dprintf(...) { ser->printf(__VA_ARGS__); ser->printf("\r\n"); }