Brendan Le Foll
163a40e6e7
examples: add uart examples for js & py
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-02-20 15:04:03 +00:00
Brendan Le Foll
d6891e8bd7
isr.js: add node.js isr example
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-02-18 16:41:31 +00:00
Alex Tereschenko
e7c3c17eb3
examples/aio: Added examples for mraa_aio_read_float()/readFloat()
...
Signed-off-by: Alex Tereschenko <alext.mkrs@gmail.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-02-05 10:43:26 +00:00
Brendan Le Foll
b7a0856f51
spi: Make Spi write() work from SWIG with typemaps
...
This change also changes the C++ API write(char) call to writeByte(uint8_t) and
the write() call now takes a uint8_t* instead of a char*. This should not alter
any code significantly and does not affect the C API.
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-01-14 11:52:12 +00:00
Brendan Le Foll
461015a22f
bmp85.js: add i2c read/write example
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-01-06 11:24:56 +00:00
Brendan Le Foll
2896b05dcd
rgblcd.js: add i2c example similar to python
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-11-05 11:25:41 +00:00
Dan Yocom
99bc1392e4
javascript: added basic examples to mraa
...
Signed-off-by: Dan Yocom <dan.yocom@intel.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-08-15 10:19:23 +01:00
Brendan Le Foll
c821c84e4a
mraa: pymraa becomes mraa and mraajs becomes mraa
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-06-25 17:49:07 +01:00
Thomas Ingleby
6853997a92
mraa: rename from maa to mraa
...
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-06-24 17:24:54 +01:00
Brendan Le Foll
116d437a79
example.js: make require path follow NODE_ENV and NODE_PATH
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-06-12 09:54:51 +01:00
Brendan Le Foll
2d12e3bd1c
example.js: fix example to use up to date API
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-06-12 07:59:06 +01:00
Brendan Le Foll
aa60cae49d
maajs: fix example with object API
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-05-08 11:24:13 +01:00
Thomas Ingleby
ea81a0ba75
examples: Update examples to use newer maa functions
...
* Use maa_init() before any other maa functions are called
* Use ioNN instead of gpioXX, Using mapping
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-05-01 17:08:54 +01:00
Brendan Le Foll
aee2087a42
maa: general licensing + styling cleanup
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-04-22 15:51:28 +01:00
Brendan Le Foll
00ba95bac0
maa: Initial commit of maa, a python and nodejs I2C skeleton only
2014-04-08 18:45:30 +01:00