Thingiverse
Robot Romeo mini
von davids69
7
Downloads
2
Likes
0
Makes
Les enfants adorent
Le lien pour la carte Romeo mini ble
https://www.dfrobot.com/product-1367.html?search=romeo%20mini
Voici le lien pour les librairies a installer
https://github.com/Arduinolibrary/DFRobot_Flame_Wheel_Vehicle/raw/master/ROMEO_M.zip
https://github.com/CainZ/GoBle/archive/master.zip
Et le programme qui va bien
/* -----Flamewheel Bluetooth Control Program
//------2016.6.29 by LL
//------Suitable for Romeo BLE Mini MCU
//http://www.dfrobot.com/index.php?route=product/product&product_id=1367&search=ble+mini&description=true#.V8AR1q11Zfc
*/
#include "GoBLE.h"
#include
#define LED 13
//GoBLE Goble(Serial);
int joystickX, joystickY;
int buttonState[7];
unsigned int led_count;
void setup() {
Romeo_m.Initialise();
Goble.begin();
pinMode(LED, OUTPUT);
}
void loop() {
if (Goble.available())
{
readGoBle();
motorContrl();
}
delayLedBlink();//delay 10ms and led blink
}
//Read GoBLE values
void readGoBle()
{
//
Le lien pour la carte Romeo mini ble
https://www.dfrobot.com/product-1367.html?search=romeo%20mini
Voici le lien pour les librairies a installer
https://github.com/Arduinolibrary/DFRobot_Flame_Wheel_Vehicle/raw/master/ROMEO_M.zip
https://github.com/CainZ/GoBle/archive/master.zip
Et le programme qui va bien
/* -----Flamewheel Bluetooth Control Program
//------2016.6.29 by LL
//------Suitable for Romeo BLE Mini MCU
//http://www.dfrobot.com/index.php?route=product/product&product_id=1367&search=ble+mini&description=true#.V8AR1q11Zfc
*/
#include "GoBLE.h"
#include
#define LED 13
//GoBLE Goble(Serial);
int joystickX, joystickY;
int buttonState[7];
unsigned int led_count;
void setup() {
Romeo_m.Initialise();
Goble.begin();
pinMode(LED, OUTPUT);
}
void loop() {
if (Goble.available())
{
readGoBle();
motorContrl();
}
delayLedBlink();//delay 10ms and led blink
}
//Read GoBLE values
void readGoBle()
{
//
Hast du dieses Modell gedruckt? Einloggen und dein Make teilen!
Melde dich an, um einen Kommentar zu hinterlassen
AnmeldenNoch keine Kommentare – sei der Erste!