Changes between Version 58 and Version 59 of WikiStart
- Timestamp:
- 2013-09-24 09:15:06 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiStart
v58 v59 45 45 All the components developed and compiled here are Open Source. The Vera plugin was inspired by the excellent rfxtrx plugin. I've also written a Arduino library handling all encoding and communication between Arduino sensors and ArduinoGateway. The Vera plugin part automatically creates newly found sensors in Vera. 46 46 47 It should be pretty simple to use the library (some more documentation in [[http://code.mios.com/trac/mios_arduino-sensor/browser/trunk/Arduino/libraries/Vera/Vera.h|vera.h]] 48 ). 47 It should be pretty simple to use the library (some more documentation in [[http://code.mios.com/trac/mios_arduino-sensor/browser/trunk/Arduino/libraries/Vera/Vera.h|vera.h]]). 49 48 49 <pre class="brush:[cpp]"> 50 #include <SPI.h> 51 #include <nRF24L01.h> 52 #include <RF24.h> 53 #include <Vera.h> 54 55 RF24 radio(9,10); // Create radio library instance using pin 9,10 56 Vera sensors(<radioId>, &radio); // Create vera library with radio id <radioId>. This should be a value between 1-255. 57 58 59 60 </pre> 61 50 62 51 63 == Arduino Sketches ==