Javascript engine

Hi,
I'm new to the Arduino world, but with the release of the Portenta and the integration with Mbed OS I decided to get closer to this world.
I have recently started a project to bring JerryScript on the ArduinoCore-mbed platform, it is in an embryonic state but I intend to carry it on and obviously any suggestions and help are welcome.

here my repository

Greetings,
D.

Hi,
I am writing to update on the status of my project. :laughing:

At the moment I have implemented the javascript functions:

setTimeout (), clearTimeout (), setInterval () and clearInterval ()

As for the Arduino APIs, the following are currently supported and exposed in javascript:

Digital I/O

digitalRead()
digitalWrite()
pinMode()

Analog I/O

analogRead()
analogWrite()

Zero, Due & MKR Family

analogReadResolution()
analogWriteResolution()

Advanced I/O

noTone()
pulseIn()
pulseInLong()
shiftIn()
shiftOut()
tone()

Time

delay()
delayMicroseconds()
micros()
millis()

Math

Supported via Math module

Trigonometry
Characters
Random Numbers

random()
randomSeed()

Bits and Bytes

bit()
bitClear()
bitRead()
bitSet()
bitWrite()
highByte()
lowByte()

External Interrupts

attachInterrupt()
detachInterrupt()

Interrupts

interrupts()
noInterrupts()

Any suggestions and help are welcome.

Greetings,
D.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.