Page 1 of 1

Maple Mini and Grove

Posted: Sun Apr 15, 2012 4:11 pm
by marekm
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:

Code: Select all

/*
 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

Re: Maple Mini and Grove

Posted: Mon Apr 16, 2012 3:46 pm
by yuriq
Dear customer,

Thanks for your sharing.
After your project, suggest you can go to instructables.com to attach that.
And we would put example to our Recipe.

Best regards,

Yuri