2017-03-22 16:20:07 +01:00
### About
2017-08-30 12:35:24 +02:00
This example shows how to write IoT applications using javascript.
2017-03-22 16:20:07 +01:00
### Acknowledgement
This example is based on [Jerryscript ](https://github.com/jerryscript-project/jerryscript ) which does all the heavy lifting, providing full ECMAScript 5.1 profile on your IoT device (kudos guys!).
### Caveats
2017-08-30 12:35:24 +02:00
- currently, the only actual function available is "print"
2017-03-22 16:20:07 +01:00
2017-08-30 12:35:24 +02:00
### How to use
2017-03-22 16:20:07 +01:00
2017-08-30 12:35:24 +02:00
Just put your javascript code in "main.js" (check the example). The file will
automatically be included when compiling the application, which will execute
the file right after booting.
2017-03-22 16:20:07 +01:00
2017-08-30 12:35:24 +02:00
### How to run
2017-03-22 16:20:07 +01:00
2017-08-30 12:35:24 +02:00
Type `make flash term` .
2017-03-22 16:20:07 +01:00
2017-08-30 12:35:24 +02:00
Note: you may have to press `RESET` on the board (after the flash) if the board
reboots faster than the terminal program can start..