great, sorry i somehow missed your reply on the forum - thanks very much for sharing your patch!
i had a go and some lights in the theatre are definitely coming up, which is exciting. however i’m still unsure about how to address specific channels.
in your dec2hex abstraction i noticed that the 4th last number in the list changes which light comes up, though the actual number is not the channel number (as i know that i have lights on channels 1 - 5 but using those numbers doesn’t bring any lights up). sorry if i am missing something obvious with the number conversions, this is all quite new.
many thanks,
s
Date: Fri, 4 Dec 2015 15:43:56 +0200
Subject: Re: [PD] Lanbox
From: adrcki@gmail.com
CC: schoolshoes@outlook.com; pd-list@lists.iem.at
Maybe I'm that someone from the old forum post. I use the lanbox with [comport], not via UDP. I copied the messages output by the [lanbox] external in Max, which used hexadecimal number (if I remember correctly) where one of them was the channel and another the value (among other values).
The patch I sent you on the forum did exactly that.