Skip to content

Commit

Permalink
Updated readme :)
Browse files Browse the repository at this point in the history
  • Loading branch information
Leon ROUX committed Apr 29, 2019
1 parent 655f63d commit 47299bd
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,17 @@ https://nurrl.github.io/Duckuino/
## Why Duckuino ?
You can compile **Duckyscript** to **Arduino** code directly through the [live](https://nurrl.github.io/Duckuino/ "Duckuino Live") version, or reuse `Duckuino.js` for standalone use :
```javascript
/* Need to fill */
```
Output:
let Duck = new Duckuino();
let mods = new Modules().list;

```c
/* Need to fill */
let output = Duck.compileCode("STRING This is a test string !", mods[0].module);
/* ^- Here will be the final compiled code |
** and errors if applicable. |
** Here is the selected module -/
**
** Note: You can iterate through the list and find the desired one,
** by default, `0` will be the first module.
*/
```
# Members
- [Plazmaz](https://github.com/Plazmaz)
Expand Down

0 comments on commit 47299bd

Please sign in to comment.