Skip to content

Instantly share code, notes, and snippets.

View narioinc's full-sized avatar

Naresh Krish narioinc

View GitHub Profile
@narioinc
narioinc / jerryscript.patch
Created January 12, 2018 14:14 — forked from janjongboom/jerryscript.patch
RTL8195AM w/ Mbed.js
diff --git a/targets/mbedos5/jerryscript-mbed/jerryscript-mbed-drivers/source/DigitalOut-js.cpp b/targets/mbedos5/jerryscript-mbed/jerryscript-mbed-drivers/source/DigitalOut-js.cpp
index 7edae943..bb361542 100644
--- a/targets/mbedos5/jerryscript-mbed/jerryscript-mbed-drivers/source/DigitalOut-js.cpp
+++ b/targets/mbedos5/jerryscript-mbed/jerryscript-mbed-drivers/source/DigitalOut-js.cpp
@@ -92,31 +92,6 @@ DECLARE_CLASS_FUNCTION(DigitalOut, read) {
return jerry_create_number(result);
}
-/**
- * DigitalOut#is_connected (native JavaScript method)
@narioinc
narioinc / BME280.js
Created January 11, 2018 13:16 — forked from AlexanderBrevig/BME280.js
Espruino BME280 module
var C = {
regCalibStart: 0x88,
regChipID: 0xd0,
regReset: 0xe0,
regCalibStart2: 0xe1,
regCtrlHum: 0xf2,
regStatus: 0xf3,
regCtrlMeas: 0xf4,
regConfig: 0xf5,
regMeasurementsStart: 0xf,