From 48e28f1ad3ab6fe3d4c5fad8a4e6deec8b75d604 Mon Sep 17 00:00:00 2001 From: Tat-Chee Wan (USM) Date: Thu, 19 May 2011 14:11:54 +0800 Subject: fix comments for get_nxt_battery() command --- pyfantom.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pyfantom.py') diff --git a/pyfantom.py b/pyfantom.py index decdc67..0f5db68 100644 --- a/pyfantom.py +++ b/pyfantom.py @@ -513,7 +513,7 @@ if __name__ == '__main__': # Use Direct Command to read Battery level # Write GETBATTERYLEVEL DIRECT_CMD. # Query: - # DIRECT_CMD: 0x00 (response required) + # DIRECT_CMD: 0x00 (response required: not included in command string) # BATT_LEVEL: 0x0B # Response (4 data bytes): # REPLY_CMD: 0x02 (not included in reply string) @@ -532,7 +532,7 @@ if __name__ == '__main__': # DIRECT_CMD: 0x00 (response required) # BATT_LEVEL: 0x0B # Response (4 data bytes): - # REPLY_CMD: 0x02 (not included in reply string) + # REPLY_CMD: 0x02 # BATT_LEVEL: 0x0B # VOLTAGE milivolts # VOLTAGE milivolts -- cgit v1.2.3