How to use the analogRead function from bindings

Find comprehensive JavaScript bindings.analogRead code examples handpicked from public code repositorys.

15
16
17
18
19
20
21
22
23
24
get LOW() { return rpiplc.LOW; }
get HIGH() { return rpiplc.HIGH; }

get version() { return rpiplc.version; }

analogRead(pinName) { return rpiplc.analogRead(this.hw[pinName]); }
analogWrite(pinName, value) { rpiplc.analogWrite(this.hw[pinName], value); }
delay(value) { rpiplc.delay(value); }
digitalRead(pinName) { return rpiplc.digitalRead(this.hw[pinName]); }
digitalWrite(pinName, value) { rpiplc.digitalWrite(this.hw[pinName], value); }
fork icon1
star icon0
watch icon0

+ 19 other calls in file

Other functions in bindings

Sorted by popularity

function icon

bindings.createKey is the most popular function in bindings (8616 examples)