Reads analog A0 AND A2 and transmit them thorugh lora (no encryption)

Dependencies:   BufferedSerial SX1276GenericLib mbed

main.h

Committer:
gabrio
Date:
2018-05-31
Revision:
5:2ac61718bfd8
Parent:
0:acd8e2ba10c5

File content as of revision 5:2ac61718bfd8:

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

#include "mbed.h"
#include "PinMap.h"
#include "BufferedSerial.h"
#include "Transmitter.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"); }