Moved debug printing line
This commit is contained in:
		
							
								
								
									
										3
									
								
								main.lua
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								main.lua
									
									
									
									
									
								
							@@ -48,13 +48,14 @@ function displayTime()
 | 
			
		||||
        timezoneoffset=0
 | 
			
		||||
     end
 | 
			
		||||
     time = getTime(sec, timezoneoffset)
 | 
			
		||||
     print("Local time : " .. time.year .. "-" .. time.month .. "-" .. time.day .. " " .. time.hour .. ":" .. time.minute .. ":" .. time.second)
 | 
			
		||||
     words = display_timestat(time.hour, time.minute)
 | 
			
		||||
 | 
			
		||||
     
 | 
			
		||||
     ledBuf = generateLEDs(words, color, color1, color2, color3, color4, 
 | 
			
		||||
			display_countwords_de(words))
 | 
			
		||||
     
 | 
			
		||||
     print("Local time : " .. time.year .. "-" .. time.month .. "-" .. time.day .. " " .. time.hour .. ":" .. time.minute .. ":" .. time.second)
 | 
			
		||||
     
 | 
			
		||||
     -- Write the buffer to the LEDs
 | 
			
		||||
     ws2812.write(ledBuf)
 | 
			
		||||
    
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user