ffleurey / ThingMLArduinoDemo

Simple examples for Arduino programming with ThingML
1 stars 3 forks source link

Led Blink1 #2

Closed brianrachel94 closed 6 years ago

brianrachel94 commented 6 years ago

Hey for LED Blink2 code when I run in Nodejs I am getting "pinMode not defined" error. How can I overcome this?

Error:

ReferenceError: pinMode is not defined

ffleurey commented 6 years ago

Hello, this repo is an Arduino demo. The code is not written to compile for NodeJS.

brianrachel94 commented 6 years ago

Will it run in RaspberryPI? how can I run the code in RaspberryPI if so?

ffleurey commented 6 years ago

Since it is for Arduino, it will not run on a Raspberry Pi. See the reply I gave you on the ThingML repo for getting something working on a Raspberry Pi.