Removed software to run on the host into the unit folder
This commit is contained in:
		
							
								
								
									
										10
									
								
								unit/example.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								unit/example.lua
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,10 @@
 | 
			
		||||
-- Example usage of the word clock
 | 
			
		||||
dofile("wordclock.lua")
 | 
			
		||||
 | 
			
		||||
-- Manually set something
 | 
			
		||||
leds=display_timestat(15,30)
 | 
			
		||||
for k,v in pairs(leds) do 
 | 
			
		||||
    if (v == 1) then
 | 
			
		||||
        print(k) 
 | 
			
		||||
    end
 | 
			
		||||
end
 | 
			
		||||
		Reference in New Issue
	
	Block a user