The device is used by another application audio

broken image

Int LED // which LED to pulse? r=1 g=2 b=3 On the Arduino Mega 2560 side I read in from serial a start byte, LED label & a brightness value.

broken image

Self.centre = Button(frame, text='Centre All', command=self.centre) Self.scale3 = Scale(master, from_=0, to=255, command=lambda ev: self.getBright(3), bd=5, bigincrement=2, length=360, width=30, label='BLUE') Self.scale2 = Scale(master, from_=0, to=255, command=lambda ev: self.getBright(2), bd=5, bigincrement=2, length=360, width=30, label='GREEN') Self.scale1 = Scale(master, from_=0, to=255, command=lambda ev: self.getBright(1), bd=5, bigincrement=2, length=360, width=30, label='RED') Ser = serial.Serial(usbport, 9600, timeout=1)

broken image

I am controlling some LEDs via the USB serial port using a Tkinter/Python3x script to debug what I suspect is a hardware problem.