#NEWLINE# def bitmap( arr , dc ) : #NEWLINE# #INDENT# ' write a sequence of bytes, either as data or command' #NEWLINE# wiringPy . digital_write ( pin_DC , arr ) #NEWLINE# wiringPy . digital_write_serial_array ( 0 , struct . pack ( ( 'B' * len ( arr ) ) , * arr ) )