Tips and Tricks
Espruino's Forums have thousands of post with useful information, but it can sometimes be hard to find the posts you need.
Here are some of the interesting posts that forum users have flagged up. If you find something and would like to add it, please let us know or add it to this page yourself.
Useful Code
- Serve a Web IDE directly off a network-connected Espruino
- Detecting movement with Puck.js
- Recording audio to SD card
- Better Analog readings using multiple readings and taking a median
- Writing a Module containing a class
- Module for producing custom format Date/Time Strings
- Creating a Neural Net on Espruino with Synaptic.js
- Repeatedly call the same code from inside a Promise chain
- Using Inline C to create LED patterns quickly
- Counting up and down on a Web page with a Puck.js
- Using Tween.js in Espruino
- Mirroring Pixl.js's display over Web Bluetooth
- Xiaomi sensors/appliances, eg. Plant Moisture Sensor
- eBook page turner with Puck.js
- Implementing a text menu/prompt in the console
Common Issues and Questions
- You might also want to check out the FAQ
- Trouble installing ST COM Port drivers
- SSD1306 display skips every other line
- STM32 current source/sink info
- Using one button to simulate many different buttons
- Setting Espruino's time from HTTP Headers
- Custom arrangements of Neopixel/WS2812/etc RGB LED Matrices
- Detecting I2C peripherals on a I2C bus
- How do I measure battery voltage on devices that don't have
E.getBattery
?
Useful Information
- Web Bluetooth for iOS
- How do HTTP requests work?
- List of I2C devices known to work on Espruino ESP8266
- Espruino and LoRaWan with RN2483 (external link)
- Mac OSX/Linux hack to allow the Web IDE to connect to a Serial device over TCP/IP
- How to use Software/Hardware I2C/SPI/Serial
- How does Espruino differ from Duktape/JerryScript/mjs/V7?
Interesting Projects
- Pixl.js powered rock tumbler
- Real-life T-Rex Game
- Hacking Espruino onto a Wristwatch
- Espruino Pico Mario Clock
- Plastic Player – an Espruino nfc based controller for Spotify
- Bespoke Espruino conference badge for NodeConf 2017
- Controlling Retro Bubble LED displays
- Building a Smart Air Pressure Sensor with Espruino and Angular
- Building a Rock Polisher using Espruino Pixl.js
Are there other good references for Espruino or projects that you think should be added to this list? Let us know here
This page is auto-generated from GitHub. If you see any mistakes or have suggestions, please let us know.