Skip to content

Instantly share code, notes, and snippets.

View pearlchen's full-sized avatar

Pearl Chen pearlchen

  • Make This Studio
  • Toronto, ON
View GitHub Profile
@pearlchen
pearlchen / lcd_text_helper.js
Last active November 8, 2015 04:37
Scroll text across your Grove LCD screen using JavaScript on the Intel Edison or Intel Galileo. Video: https://twitter.com/PearlChen/status/588890387260903424. And check it out within a larger project: https://github.com/pearlchen/iot-smart-desk-clock
/* global setInterval: false, setTimeout: false, clearInterval: false, clearTimeout:false, module: false, console: false */
/**
* Module exports.
*/
module.exports = LcdTextHelper;
/**
* LcdTextHelper constructor.
@pearlchen
pearlchen / intel-edison-grove-lcd-Jhd1313m1-example
Created April 14, 2015 02:23
Make a little * dance across your Grove LCD screen using JavaScript on the Intel Edison or Intel Galileo. Video: https://twitter.com/PearlChen/status/587808490405625856
var mraa = require ('mraa');
/*
If you get any mraa missing errors, run this on your board:
$ echo "src mraa-upm http://iotdk.intel.com/repos/1.1/intelgalactic" > /etc/opkg/mraa-upm.conf
$ opkg update
$ opkg install libmraa0
*/
var LCD = require ('jsupm_i2clcd');
/*