Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

Commit

Permalink
updated library.properties and README file
Browse files Browse the repository at this point in the history
  • Loading branch information
kd8bxp committed Jul 18, 2020
1 parent 4357c34 commit 5ebd5b3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
21 changes: 10 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,18 @@ Generally I see this issue when I try to open the serial port before it's ready.
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).

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.

---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.---

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.
https://play.google.com/store/apps/details?id=com.adafruit.bluefruit.le.connect
There is probably an app for IOS as well, but I don't own a IOS device.

Peer-To-Peer feature added, see example5a and the related gamepad_sender example

## Usage

General Usage:

'''
#include <Maqueen.h>
```#include <Maqueen.h>
Maqueen bot;
void setup() {
Expand All @@ -55,13 +55,11 @@ bot.begin();
void loop() {
//program here
}
'''
}```
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.
'''
#include <Maqueen.h>
```#include <Maqueen.h>
Maqueen bot;
//NewPing.h and Adafruit_Microbit.h are inlcuded the library header
Expand All @@ -73,8 +71,8 @@ void setup() {
bot.begin(); //inits the Maqueen robot
microbit.begin(); // inits Adafruits library
}
.....
'''
.....```
These are defined in the library, and can be used as needed in your sketch.
LED1 left led (red).
Expand Down Expand Up @@ -179,7 +177,8 @@ https://kd8bxp.blogspot.com/
## Credits
Copyright (c) 2018 LeRoy Miller
Copyright (c) 2018-2020 LeRoy Miller
Ken551 pull request #2 (merged July 18, 2020) Thanks
## License
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=micro Maqueen
version=1.1.0
version=1.1.1
author=LeRoy Miller
maintainer=LeRoy Miller <[email protected]>
sentence=Simple library for the DF Robot micro:Maqueen BBC Micro:Bit Robot
Expand Down

0 comments on commit 5ebd5b3

Please sign in to comment.