日時 | |
関係者(共同研究者) | |
キノマクリエイトのアナゴル-デジタル変換サンプルコード(JS6)
Kinoma Tutorial - Getting Started with Analog
http://kinoma.co…
exports.pins = {
analog: { type: "Analog" }
};
exports.configure = function() {
this.analog.init();
}
exports.close = function() {
this.analog.close()
}
exports.read = function() {
return this.analog.read();
}
var Pins = require("pins");
Pins.configure({
analogSensor: {
require: "BLL-NAME-HERE", //"Analog" if using the built-in BLL
pins: {
analog: { pin: 54 }
}
}
}, success => {
if (success) {
Pins.repeat("/analogSensor/read", 20, result => {
// do something with result
});
}
});
西暦 | 令和 | 🔷 平成 | 🔷 昭和 | 🔷 大正 | 🔷 明治 |
---|---|---|---|---|---|
2011 | R-7 | H23 | S86 | T100 | M144 |
2012 | R-6 | H24 | S87 | T101 | M145 |
2013 | R-5 | H25 | S88 | T102 | M146 |
2014 | R-4 | H26 | S89 | T103 | M147 |
2015 | R-3 | H27 | S90 | T104 | M148 |
2016 | R-2 | H28 | S91 | T105 | M149 |
2017 | R-1 | H29 | S92 | T106 | M150 |
2018 | R0 | H30 | S93 | T107 | M151 |
2019 | R1 | H31 | S94 | T108 | M152 |
2020 | R2 | H32 | S95 | T109 | M153 |
2021 | R3 | H33 | S96 | T110 | M154 |