Hello,
Is anyone here who use Maple Mini boards as a control units for Grove bricks?
I just started with Maple Mini and SerialLCD and its work.
Planed: Compass, Stepper motors, etc.
It will be great to exchange experiences with others and build libraries for other bricks.
First - is Grove_SLCD library. This is ported from library for Arduino.
Tested with Maple Mini - on serial ports 1,2 and 3.
When you connect SerialLCD module to Maple Mini - please remember that you need external +5V power supply for SerialLCD module - on Maple mini you have only +3.3V.
Sample .pde:
/*
Grove_SLCD Library - Hello Grove
Demonstrates the use a 16x2 LCD SerialLCD driver from Seeedstudio.
This sketch prints "Hello, Grove!" to the LCD and shows the time since reset.
Library originally added 16 Dec. 2010 by Jimbo.we http://www.seeedstudio.com
*/
// include the library code:
#include <Grove_SLCD.h>
SLCD SLCD(2); // here - serial port number is selected
void setup() {
// set up
SLCD.begin();
// Print a message to the LCD.
SLCD.print("Hello, Grove!");
}
void loop() {
// set the cursor to column 0, line 1
// (note: line 1 is the second row, since counting begins with 0):
SLCD.setCursor(0, 1);
// print the number of seconds since reset:
SLCD.print(millis()/1000,DEC);
}
Best,
Marek
Groove_SLCD.rar (2.84 KB)