File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change 2727DISPLAY_RATE  =  1        # screen refresh rate 
2828#------------------------------------------------------------------------- 
2929
30- # TODO: remove this once this is resolved: 
31- # https://github.com/adafruit/circuitpython/issues/4893 
32- # and this gets merged: 
33- # https://github.com/adafruit/circuitpython/pull/4961 
34- EPOCH_OFFSET  =  946684800  # delta from above issue thread 
35- 
3630# Get sekrets from a secrets.py file 
3731try :
3832    from  secrets  import  secrets 
9589#                    H E L P E R    F U N C S 
9690#------------------------------------------------------------------------- 
9791def  timebase (timetime ):
98-     return  (timetime  +   EPOCH_OFFSET   -  (UTC_OFFSET * 3600 )) //  30 
92+     return  (timetime  -  (UTC_OFFSET * 3600 )) //  30 
9993
10094def  compute_codes (timestamp ):
10195    codes  =  []
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments