nghess Hi, The new APP_SoftCode setup looks enticing, but I'm having trouble sending a SoftCode directly from Bonsai to Bpod. It seems that I can't manage to format my bytes correctly. Does anyone have experience converting from Python int to a byte that can be sent by the SerialWrite sink in Bonsai? Thanks!
Josh Hi nghess, I'm not sure about the type conversion on the Bonsai side, but once you have bytes you'd send them as shown in this example. Does the following work? from struct import pack myByte = pack('b', myInt) -Josh