embedded RTOS class project.
Dependencies: C12832_lcd USBDevice mbed-rtos mbed mmSPI_RTOS watchdog_RTOS
Fork of RTOS_project_fork_01 by
mmPython/mmProject.txt@5:4409ff66b434, 2013-09-18 (annotated)
- Committer:
- gatedClock
- Date:
- Wed Sep 18 14:58:03 2013 +0000
- Revision:
- 5:4409ff66b434
- Parent:
- 0:8e898e1270d6
test results.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
gatedClock | 0:8e898e1270d6 | 1 | #!/usr/bin/python -tt # tt: detect mixed space/tab. |
gatedClock | 0:8e898e1270d6 | 2 | #---copyright-----------------------------------#------------------------------- |
gatedClock | 0:8e898e1270d6 | 3 | # licensed for personal and academic use. |
gatedClock | 0:8e898e1270d6 | 4 | # commercial use must be approved by the account-holder of |
gatedClock | 0:8e898e1270d6 | 5 | # gated.clock@gmail.com |
gatedClock | 0:8e898e1270d6 | 6 | #=======imports=================================#=============================== |
gatedClock | 0:8e898e1270d6 | 7 | import os # import os library. |
gatedClock | 0:8e898e1270d6 | 8 | import sys # import sys library. |
gatedClock | 0:8e898e1270d6 | 9 | import usb.core # import PyUSB library. |
gatedClock | 0:8e898e1270d6 | 10 | from Tkinter import * # Tk library. |
gatedClock | 0:8e898e1270d6 | 11 | import ttk # from Tk library. |
gatedClock | 0:8e898e1270d6 | 12 | import tkFileDialog # from Tk library. |
gatedClock | 0:8e898e1270d6 | 13 | import pexpect # not needed here. |
gatedClock | 0:8e898e1270d6 | 14 | import mmUI # specify file. |
gatedClock | 0:8e898e1270d6 | 15 | from mmUI import * # specify module. |
gatedClock | 0:8e898e1270d6 | 16 | #=======function================================#=============================== |
gatedClock | 0:8e898e1270d6 | 17 | #=======main====================================#=============================== |
gatedClock | 0:8e898e1270d6 | 18 | #-------parameters------------------------------#------------------------------- |
gatedClock | 0:8e898e1270d6 | 19 | #-------locals----------------------------------#------------------------------- |
gatedClock | 0:8e898e1270d6 | 20 | #-------execution-------------------------------#------------------------------- |
gatedClock | 0:8e898e1270d6 | 21 | if (1): |
gatedClock | 0:8e898e1270d6 | 22 | |
gatedClock | 0:8e898e1270d6 | 23 | root = Tk() |
gatedClock | 0:8e898e1270d6 | 24 | app = mmUI(root) |
gatedClock | 0:8e898e1270d6 | 25 | root.mainloop() |
gatedClock | 0:8e898e1270d6 | 26 | sys.exit(0) |
gatedClock | 0:8e898e1270d6 | 27 | #-----------------------------------------------#------------------------------- |
gatedClock | 0:8e898e1270d6 | 28 | |
gatedClock | 0:8e898e1270d6 | 29 | |
gatedClock | 0:8e898e1270d6 | 30 |