USB Device Programming class project. This project allows a Python/Tk program running on a PC host to monitor/control a test-CPU programmed into an altera development board.

Dependencies:   C12832_lcd USBDevice mbed-rtos mbed mmSPI

Revision:
8:db29cce17a33
Parent:
4:92539904a4ad
diff -r d1aca9ccbab8 -r db29cce17a33 mmPython/mmProject.txt
--- a/mmPython/mmProject.txt	Sun Sep 01 03:48:07 2013 +0000
+++ b/mmPython/mmProject.txt	Sun Sep 01 03:55:03 2013 +0000
@@ -1,18 +1,18 @@
-#!/usr/bin/python -tt                       # tt: detect mixed space/tab.
+#!/usr/bin/python -tt                           # tt: detect mixed space/tab.
 #---copyright-----------------------------------#-------------------------------
 #   licensed for personal and academic use.
 #   commercial use must be approved by the account-holder of
 #   gated.clock@gmail.com
 #=======imports=================================#===============================
-import os                   # import os  library.
-import sys                  # import sys library.
-import usb.core                 # import PyUSB library.
-from   Tkinter import *             # Tk library.
-import ttk                  # from Tk library.
-import tkFileDialog             # from Tk library.
-import pexpect                  # not needed here.
-import mmUI                     # specify file.
-from   mmUI    import *             # specify module.
+import os                                       # import os  library.
+import sys                                      # import sys library.
+import usb.core                                 # import PyUSB library.
+from   Tkinter import *                         # Tk library.
+import ttk                                      # from Tk library.
+import tkFileDialog                             # from Tk library.
+import pexpect                                  # not needed here.
+import mmUI                                     # specify file.
+from   mmUI    import *                         # specify module.
 #=======function================================#===============================
 #=======main====================================#===============================
 #-------parameters------------------------------#-------------------------------
@@ -20,9 +20,11 @@
 #-------execution-------------------------------#-------------------------------
 if (1):
 
-    root = Tk()
-    app  = mmUI(root)
-    root.mainloop()
-    sys.exit(0)
+        root = Tk()
+        app  = mmUI(root)
+        root.mainloop()
+        sys.exit(0)
 #-----------------------------------------------#-------------------------------
 
+
+