pico-examples
pico-examples copied to clipboard
I found a small problem in i2c/oled_i2c/img_to_array.py
Problem: If people use this script to generate their own image's head file, when compiling they will get an error , because in the generated .h file lack a ;
Fix: in the file img_to_array.py line 76 add a ;
buffer_hex = f'static uint8_t {img_name}[] = {{{buffer}}};\n'
ping @JamesH65 as I believe he was looking at this example as part of #217