From e1ad812775b22964696bcdd9eb6e2ef453658837 Mon Sep 17 00:00:00 2001 From: Sjoerd Dirk Meijer Date: Wed, 1 May 2013 19:32:07 +0200 Subject: [PATCH] updated readme --- Arduino/arduino.py | 6 ++++++ README.md | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Arduino/arduino.py b/Arduino/arduino.py index 8e84ae7..369aa45 100644 --- a/Arduino/arduino.py +++ b/Arduino/arduino.py @@ -329,6 +329,12 @@ class Arduino(object): pin (int): pin to use as capacitive sensor 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)+"$!" self.sr.write(cmd_str) diff --git a/README.md b/README.md index 3d790d1..fd91917 100644 --- a/README.md +++ b/README.md @@ -155,9 +155,9 @@ response_char = board.SoftwareSerial.read() #read response character - 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 currently testing code for this (thanks to Sjoerd Dirk Meijer.) --(sdmeijer) Add Python-code for Tone/NoTone. +- 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. - 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) -- (sdmeijer) Add capacitive sensors (http://playground.arduino.cc/Code/CapacitiveSensor) +- (sdmeijer) Add capacitive sensors (http://playground.arduino.cc/Code/CapacitiveSensor)