You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 6, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+10-11Lines changed: 10 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,18 +34,18 @@ Generally I see this issue when I try to open the serial port before it's ready.
34
34
The Maqueen robot has 4 Neopixels on PIN 15, currently this is not supported in any Neopixel library that I have seen. The Neopixels do work with the Makecode IDE, so this is a limitation of Arduino/Neopixel Libraries (I believe).
35
35
36
36
The IR remote sensor works, but not as well as it could. I am using a very old method to read the IR data, using pulseIn. This works, but is limited.
37
-
38
-
---The biggest issue I've run across so far is no peer-to-peer support in the Arduino IDE. I am not even sure how it works. Again this is a non-issue with Makecode.---
37
+
39
38
BLE works, and Adafruit does provide an app for Android phones that support BLE. I was able to setup remote control via that app, and using one of Adafruits base sketches.
There is probably an app for IOS as well, but I don't own a IOS device.
42
41
42
+
Peer-To-Peer feature added, see example5a and the related gamepad_sender example
43
+
43
44
## Usage
44
45
45
46
General Usage:
46
47
47
-
'''
48
-
#include <Maqueen.h>
48
+
```#include <Maqueen.h>
49
49
Maqueen bot;
50
50
51
51
void setup() {
@@ -55,13 +55,11 @@ bot.begin();
55
55
56
56
void loop() {
57
57
//program here
58
-
}
59
-
'''
58
+
}```
60
59
61
60
The Maqueen library includes both the Adafruit_Microbit.h library and the NewPing.h library, you don't need to include them in your sketch, but you do need to invoke the classes.
62
61
63
-
'''
64
-
#include <Maqueen.h>
62
+
```#include <Maqueen.h>
65
63
Maqueen bot;
66
64
67
65
//NewPing.h and Adafruit_Microbit.h are inlcuded the library header
@@ -73,8 +71,8 @@ void setup() {
73
71
bot.begin(); //inits the Maqueen robot
74
72
microbit.begin(); // inits Adafruits library
75
73
}
76
-
.....
77
-
'''
74
+
.....```
75
+
78
76
79
77
These are defined in the library, and can be used as needed in your sketch.
80
78
LED1 left led (red).
@@ -179,7 +177,8 @@ https://kd8bxp.blogspot.com/
179
177
180
178
## Credits
181
179
182
-
Copyright (c) 2018 LeRoy Miller
180
+
Copyright (c) 2018-2020 LeRoy Miller
181
+
Ken551 pull request #2 (merged July 18, 2020) Thanks
0 commit comments