Keyboard as serial data

Hi i am trying to send keyboard input to the serial node. in beta there was the “AsRaw” node. How can i make it work in gamma?

the corresponding node to “AsRaw” is called “ToBytes” and you need to activate “Advanced” nodes in the nodebrowser to see it:

grafik

Because the node returns a MutableArray<byte> but the Serialport node takes a Spread<byte> you need to convert from MutableArray to Spread using the FromSequence node, like so:

grafik

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.