Fixed apimote renaming bug.
[goodfet] / client / GoodFET.py
index e0d575d..e6ca933 100755 (executable)
@@ -670,6 +670,14 @@ class GoodFET:
         print "Clocked at %s" % self.monitorclocking();
         return 1;
 
+    def testleds(self):
+        print "Flashing LEDs"
+        self.writecmd(self.MONITORAPP,0xD0,0,"");
+        try:
+            print "Flashed %d LED." % ord(self.data)
+        except:
+            print "Unable to process response:", self.data
+
     def monitor_list_apps(self, full=False): 
         self.monitor_info()
         old_value = self.besilent