Grove - Serial Bluetooth help.

Grove is a modulated, ready-to-use tool set.
Much like Lego, it takes a building block approach to assembling electronics.

Moderators: lily.li, violet, salmanfarisvp, jeremy882, crail.lyu969

Post Reply
erickjohn08
Pre-kindergarten
Pre-kindergarten
Posts: 5
Joined: Fri Mar 30, 2012 7:43 pm

Grove - Serial Bluetooth help.

Post by erickjohn08 » Fri Apr 27, 2012 10:25 am

Hi, I just purchased a grove bluetooth module.
I uploaded the sample code to check if my module is working and to study the sample code.
When I uploaded the code I got this error message.
Where did I go wrong?
"In file included from sketch_apr27a.cpp:1:
F:\ENGINEERING\MICROCONTROLLERS\ARDUINO\SOFTWARE Apps\arduino-1.0\libraries\NewSoftSerial/NewSoftSerial.h:71: error: conflicting return type specified for 'virtual void NewSoftSerial::write(uint8_t)'
F:\ENGINEERING\MICROCONTROLLERS\ARDUINO\SOFTWARE Apps\arduino-1.0\hardware\arduino\cores\arduino/Print.h:48: error: overriding 'virtual size_t Print::write(uint8_t)'
sketch_apr27a.cpp: In function 'void setupBlueToothConnection()':
sketch_apr27a.cpp:68: warning: deprecated conversion from string constant to 'char*'
sketch_apr27a.cpp:69: warning: deprecated conversion from string constant to 'char*'
sketch_apr27a.cpp:70: warning: deprecated conversion from string constant to 'char*'
sketch_apr27a.cpp:71: warning: deprecated conversion from string constant to 'char*'
sketch_apr27a.cpp:72: warning: deprecated conversion from string constant to 'char*'
sketch_apr27a.cpp:74: warning: deprecated conversion from string constant to 'char*'
sketch_apr27a.cpp: In function 'void CheckOK()':
sketch_apr27a.cpp:85: warning: unused variable 'len'"

User avatar
deray
Elementary-3
Elementary-3
Posts: 327
Joined: Fri Mar 30, 2012 1:45 pm

Re: Grove - Serial Bluetooth help.

Post by deray » Fri Apr 27, 2012 1:42 pm

Is your IDE is arduino0022/23? You shoud downloaded the libraray "NewSoftLibrary" or change IDE arduino1.0 .then the problem will be solved.

Post Reply