- Timestamp:
- 12/06/10 22:31:00 (2 years ago)
- File:
-
- 1 edited
-
trunk/CHDK/SCRIPTS/TEST/uartrtst.lua (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/CHDK/SCRIPTS/TEST/uartrtst.lua
r996 r1001 3 3 requires CHDK built with native function call support 4 4 --]] 5 6 if (type(call_event_proc) ~= "function" ) then 7 error("ERROR: requires CHDK build with native function call support.") 8 end 5 9 6 10 -- include lualib module (uartr.lua) … … 13 17 --uartr.start() 14 18 19 -- Short delay to avoid trouble, ToDo: really necessary ? 20 sleep(100) 21 15 22 -- os.date() return something like "Sat Dec 4 01:54:01 2010" 16 23 call_event_proc("Printf", os.date().." UART redirect Test (uartrtst.lua) OK\n"); 17 24 25 -- Short delay to avoid trouble, ToDo: really necessary ? 26 sleep(100) 27 18 28 uartr.stop()
Note: See TracChangeset
for help on using the changeset viewer.