From 73f59b2cbfc4ba35eb8e4e1f046e97d55c42f2e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ce=CC=81sar=20Garci=CC=81a=20Sa=CC=81ez?= Date: Fri, 2 Nov 2012 01:27:34 +0100 Subject: [PATCH] Updated code to run on Arduino v1.0 using Jeelib library that combines Ports and RF12 libs. --- test_rfm12b/test_rx/test_rx.pde | 18 ++++++++---------- test_rfm12b/test_tx/test_tx.pde | 16 +++++++--------- 2 files changed, 15 insertions(+), 19 deletions(-) diff --git a/test_rfm12b/test_rx/test_rx.pde b/test_rfm12b/test_rx/test_rx.pde index 0551093..c416aa6 100644 --- a/test_rfm12b/test_rx/test_rx.pde +++ b/test_rfm12b/test_rx/test_rx.pde @@ -8,20 +8,18 @@ * Ian Chilton * December 2011 * - * Requires Arduino version 0022. v1.0 was just released a few days ago so - * i'll need to update this to work with 1.0. - * - * Requires the Ports and RF12 libraries from Jeelabs in your libraries directory: - * - * http://jeelabs.org/pub/snapshots/Ports.zip - * http://jeelabs.org/pub/snapshots/RF12.zip - * + * Updated to Arduino v1.0 using Jeelibs by César García + * + * Requires the Jeelibs, that combine Ports and RF12 libraries, from Jeelabs in your libraries directory: + * https://github.com/jcw/jeelib + * + * For additional info: http://jeelabs.org/jeelib + * * Information on the RF12 library - http://jeelabs.net/projects/11/wiki/RF12 * ***************************************************************************/ -#include -#include +#include static unsigned long payload; diff --git a/test_rfm12b/test_tx/test_tx.pde b/test_rfm12b/test_tx/test_tx.pde index 1eccd35..af79063 100644 --- a/test_rfm12b/test_tx/test_tx.pde +++ b/test_rfm12b/test_tx/test_tx.pde @@ -9,20 +9,18 @@ * Ian Chilton * December 2011 * - * Requires Arduino version 0022. v1.0 was just released a few days ago so - * i'll need to update this to work with 1.0. - * - * Requires the Ports and RF12 libraries from Jeelabs in your libraries directory: - * - * http://jeelabs.org/pub/snapshots/Ports.zip - * http://jeelabs.org/pub/snapshots/RF12.zip + * Updated to Arduino v1.0 using Jeelibs by César García + * + * Requires the Jeelibs, that combine Ports and RF12 libraries, from Jeelabs in your libraries directory: + * https://github.com/jcw/jeelib + * + * For additional info: http://jeelabs.org/jeelib * * Information on the RF12 library - http://jeelabs.net/projects/11/wiki/RF12 * ***************************************************************************/ -#include -#include +#include // Use the watchdog to wake the processor from sleep: ISR(WDT_vect) { Sleepy::watchdogEvent(); }