mirror of
https://github.com/thearn/Python-Arduino-Command-API.git
synced 2026-04-24 03:00:20 -04:00
Update README.md
This commit is contained in:
10
README.md
10
README.md
@@ -42,10 +42,10 @@ while True:
|
||||
* Arduino compatible microcontroller with at least 14KB of memory
|
||||
|
||||
## Setup:
|
||||
1. Verify that your Arduino board communicates at the baud rate specified in the
|
||||
1. Verify that your Arduino board communicates at the baud rate specified in the
|
||||
`setup()` function in `prototype.ino`. Change it there if necessary.
|
||||
1. Load the sketch `sketches\prototype\prototype.ino` onto your Arduino board, using the Arduino IDE.
|
||||
2. Import the included arduino library `Arduino.py` into your python script.
|
||||
2. Import the included arduino library `Arduino.py` into your python script.
|
||||
|
||||
For a collection of examples, see `arduino/examples.py`. This file contains methods which replicate
|
||||
the functionality of many Arduino demo sketches.
|
||||
@@ -151,12 +151,12 @@ response_char = board.SoftwareSerial.read() #read response character
|
||||
|
||||
**Misc**
|
||||
|
||||
- Arduino.close()` closes serial connection to the Arduino.
|
||||
- `Arduino.close()` closes serial connection to the Arduino.
|
||||
|
||||
## To-do list:
|
||||
## To-do list:
|
||||
- Expand software serial functionality (`print()` and `println()`)
|
||||
- Add simple reset functionality that zeros out all pin values
|
||||
- Add I2C / TWI function support (Arduino `Wire.h` commands)
|
||||
- Add `tone()` / `noTone()` squarewave generator support for piezo type speakers
|
||||
- Include a wizard which generates 'prototype.ino' with selected serial baud rate and Arduino function support (to help reduce memory requirements).
|
||||
- Multi-serial support for Arduino mega (`Serial1.read()`, etc)
|
||||
- Multi-serial support for Arduino mega (`Serial1.read()`, etc)
|
||||
|
||||
Reference in New Issue
Block a user