COSA
An Object-Oriented Platform for Arduino Programming
|
Go to the source code of this file.
Macros | |
#define | REG_VALUE8(reg, value) (reg), (uint8_t) (value) |
#define | REG_VALUE16(reg, value) |
#define | REG_VALUE24(reg, value) |
#define | FXOSC 32000000L |
#define | FSTEP (FXOSC >> 19) |
#define | FRF_315_MHZ 0x4EC000L |
#define | FRF_434_MHZ 0x6C8000L |
#define | FRF_868_MHZ 0xD90000L |
#define | FRF_915_MHZ 0xE4C000L |
#define | FRF_SETTING FRF_868_MHZ |
#define | BITRATE_1200_BPS 0x682B |
#define | BITRATE_2400_BPS 0x3415 |
#define | BITRATE_4800_BPS 0x1A0B |
#define | BITRATE_9600_BPS 0x0D05 |
#define | BITRATE_19200_BPS 0x0683 |
#define | BITRATE_38400_BPS 0x0341 |
#define | BITRATE_57600_BPS 0x022C |
#define | BITRATE_76800_BPS 0x01A1 |
#define | BITRATE_115200_BPS 0x0116 |
#define | BITRATE_153600_BPS 0x00D0 |
#define | BITRATE_SETTING BITRATE_4800_BPS |
#define | FDEV_SETTING 0x0052 |
Variables | |
const uint8_t RFM69::config[] | __PROGMEM |
Copyright (C) 2014-2015, Mikael Patel
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
This file is part of the Arduino Che Cosa project.
Definition in file RFM69.cpp.
#define BITRATE_SETTING BITRATE_4800_BPS |
#define FRF_SETTING FRF_868_MHZ |
#define REG_VALUE16 | ( | reg, | |
value | |||
) |
#define REG_VALUE24 | ( | reg, | |
value | |||
) |
const uint8_t RFM69::config [] __PROGMEM |
Default configuration: Radio: 868 MHz, 4.8 kbps, GFSK(0). Whitening, 13 dBm. Packet: Variable packet length with CRC, address check and broadcast(0x00) Frame: sync(2), length(1), dest(1), src(1), port(1), payload(max 63), crc(2) Digital Output Pins: DIO0, Asserts: RX:CRC_OK, TX:PACKET_SENT