Many lines have to be fixed.
Line 47 must be 5:9 to accept 1080
Lines 46 and 47: slicing must be replaced by split( ', ')
Lines 44 and 51: fb0 is constant the filename while the class constructor accept a devname different from fb0
Line 111: the result of %300 may exceed the capacity of a byte (0= N <=255)
Samething for %400 and %500
Many lines have to be fixed.
Line 47 must be 5:9 to accept 1080
Lines 46 and 47: slicing must be replaced by split( ', ')
Lines 44 and 51: fb0 is constant the filename while the class constructor accept a devname different from fb0
Line 111: the result of %300 may exceed the capacity of a byte (0= N <=255)
Samething for %400 and %500