v.0.2.0 font_5x7_optimized
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
import time
|
||||
|
||||
|
||||
def number_to_bitarray_msb(number):
|
||||
"""Convert 8-bit number to bit array (MSB first)"""
|
||||
return [(number >> i) & 1 for i in range(7, -1, -1)]
|
||||
|
||||
|
||||
def get_datetime_string(format='full'):
|
||||
"""
|
||||
Return date/time as string with different formats
|
||||
|
||||
Reference in New Issue
Block a user