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