Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Aguiar <alanjas@hotmail.com>2013-10-29 16:13:11 (GMT)
committer Alan Aguiar <alanjas@hotmail.com>2013-10-29 16:13:11 (GMT)
commit02bcd189a00743597b1e460002f495e64f5b162d (patch)
tree368deb786de1292ea752867c918540f34ed4fb75
parentc8eda7797aae82a6bee1e36a409a895cbc0fbfc8 (diff)
update to new Arduino plugin strings
-rw-r--r--taextras.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/taextras.py b/taextras.py
index 972ee97..2894e50 100644
--- a/taextras.py
+++ b/taextras.py
@@ -488,11 +488,13 @@ ARDUINO_STRINGS = [
_('PWM'),
_('SERVO'),
_('ERROR: Check the Arduino and the number of port.'),
- _('ERROR: Value must be a number from 0 to 255.'),
+ _('ERROR: Value must be a number from 0 to 1.'),
+ _('ERROR: Value must be a number from 0 to 180.'),
_('ERROR: Value must be either HIGH or LOW, 0 or 1'),
_('ERROR: The mode must be either INPUT, OUTPUT, PWM or SERVO.'),
_('ERROR: The value must be an integer.'),
_('ERROR: The pin must be an integer.'),
+ _('ERROR: You must configure the mode for the pin.'),
_('arduino'),
_('refresh Arduino'),
_('Search for connected Arduinos.'),
@@ -512,8 +514,7 @@ ARDUINO_STRINGS = [
_('value'),
_('Write analog value in specified port.'),
_('analog read'),
- _('Read value from analog port. Value may be between 0 and 1023. Use Vref \
-to determine voltage. For USB, volt=((read)*5)/1024) approximately.'),
+ _('Read value from analog port. Value may be between 0 and 1.'),
_('digital write'),
_('Write digital value to specified port.'),
_('digital read'),
@@ -526,7 +527,8 @@ to determine voltage. For USB, volt=((read)*5)/1024) approximately.'),
_('Configure Arduino port for PWM (pulse-width modulation).'),
_('Not found Arduino %s'),
_('The pin must be an integer'),
- _('The device must be an integer')
+ _('The device must be an integer'),
+ _('Error loading %s board')
]
EXPEYES_STRINGS = [