Posts

Showing posts from 2013

Rfduino with 2004 I2C Display

Image
Test out 20 x 4 LCD with my RFduino Since RFduino pin definitions are different than that of other Arduinos, it took me really long time to figure out these pins after search, search, and search the webs... The driver/library and coding samples came with RFduino/Arduino do not work. Must ask the vendor to provide the driver/library to make it working properly. RFduino default pins for SPI interface: SCL on GPIO 5 SDA on GPIO 6 There are four pins on this LCD module: 1. VCC (Power 5V) 2. GND (Ground) 3. SCL (Clock pin) 4. SDA (Data pin) One pin on the back of the LCD module. Remove it to turn off LCD all time. Close the pin you will be able to turn on/off the LCD with command: lcd.backlight() : turn on lcd.noBacklight()  : turn off Some other LCD commands: lcd.init() : initialise the LCD lcd.setCoursor(x, y) : place cursor lcd.print("Hello World"); print string //Compatible with the Arduino IDE 1.0 //Library version:1.1 #include <wire.h> #incl

Solved: Cordova Error: Please install Android target 17 (the Android 4.2 SDK)

Image
Many of you might encounter the error message while adding Android OS support into your Cordova project: [Error: Please install Android target 17 (the Android 4.2 SDK)] After trying all Android SDK Tools, but I still getting the error message. Then I try to install the Android 4.2.2 (API 17). Well, it worked!! The error message is a little bit misleading! It's the API missing not Android Target! Here is the screenshot that I successfully added the "Android Target 17". Done.