Skip to content
This repository has been archived by the owner on Oct 17, 2020. It is now read-only.

Releases: paul-pw/LightData

alpha 02

15 Jan 21:03
Compare
Choose a tag to compare
alpha 02 Pre-release
Pre-release

everything should work as intended but nothing is tested yet, to see how the api works, please look at the examples in lib/Lightdata/examples

first alpha test Release

21 Dec 16:05
9274919
Compare
Choose a tag to compare
Pre-release
  • LDStream
  • LightData !!not yet working!!

for this to work you must write some stuff in the main file:

#include <LightData.h>

LD::LightData ld(10/*Recieve Pin*/,11/*transmit Pin*/, 1250/*transmit speed*/);
LD::LDStream* LD::LDStream::instance = &ld; //this sets the instance pointer to the correct instance of the class (needed for the ISR function)
int LD::Session_var::id_counter=0;


void setup() {
  // put your setup code here, to run once:
  ld.beginn();
}

just coppy and paste, thats easiest and remember to only have one setup function

in the arduino ide you can include this like so:

  1. go to Sketch/Bibliothek einbinden/.ZIP-Bibliothek hinzufügen...
  2. navigate to the LightData.zip file
  3. under Sketch/Bibliothek einbinden click on LightData
  4. all done now just coppy and paste the code from above and it should compile, not yet work tho