updated readme

This commit is contained in:
Sjoerd Dirk Meijer
2013-05-01 19:32:07 +02:00
parent 8cb14ea9ff
commit e1ad812775
2 changed files with 9 additions and 3 deletions

View File

@@ -329,6 +329,12 @@ class Arduino(object):
pin (int): pin to use as capacitive sensor pin (int): pin to use as capacitive sensor
Use it in a loop! Use it in a loop!
DO NOT CONNECT ANY ACTIVE DRIVER TO THE USED PIN !
the pin is toggled to output mode to discharge the port,
and if connected to a voltage source,
will short circuit the pin, potentially damaging
the Arduino/Shrimp and any hardware attached to the pin.
''' '''
cmd_str="@cap%"+str(pin)+"$!" cmd_str="@cap%"+str(pin)+"$!"
self.sr.write(cmd_str) self.sr.write(cmd_str)

View File

@@ -155,9 +155,9 @@ response_char = board.SoftwareSerial.read() #read response character
- Expand software serial functionality (`print()` and `println()`) - Expand software serial functionality (`print()` and `println()`)
- Add simple reset functionality that zeros out all pin values - Add simple reset functionality that zeros out all pin values
- Add I2C / TWI function support (Arduino `Wire.h` commands) - Add I2C / TWI function support (Arduino `Wire.h` commands)
- <del> Add `tone()` / `noTone()` squarewave generator support for piezo type speakers</del> currently testing code for this (thanks to Sjoerd Dirk Meijer.) - <del> Add `tone()` / `noTone()` squarewave generator support for piezo type speakers currently testing code for this (thanks to Sjoerd Dirk Meijer.)
-(sdmeijer) Add Python-code for Tone/NoTone. -(sdmeijer) Add Python-code for Tone/NoTone.</del>
- Include a wizard which generates 'prototype.ino' with selected serial baud rate and Arduino function support - Include a wizard which generates 'prototype.ino' with selected serial baud rate and Arduino function support
(to help reduce memory requirements). (to help reduce memory requirements).
- Multi-serial support for Arduino mega (`Serial1.read()`, etc) - Multi-serial support for Arduino mega (`Serial1.read()`, etc)
- (sdmeijer) Add capacitive sensors (http://playground.arduino.cc/Code/CapacitiveSensor) - <del>(sdmeijer) Add capacitive sensors (http://playground.arduino.cc/Code/CapacitiveSensor)</del>