locoloop Hi I would like to pass a number from pure data on a bela gem to teensy. i found this blogpost, but did not find it helpful for my case as it was all about rasPi: https://forum.bela.io/d/1192-passing-a-variable-from-bela-pd-to-raspberry-pi-teensy-etc/2 Is it possible to send a pwm signal from the bela gem and receive it on the teensy? do i need optocoupling for that? greetings! Fabian
giuliomoro You should probably use UART. There's a "Serial" example for Pure Data in the IDE. Make sure your board is up to date via the IDE, then follow the instructions here https://learn.bela.io/using-bela/technical-explainers/device-tree-overlays/#loading-a-device-tree-overlay to load the PB2-UART4 overlays that should already present on your board if it's up to date. Then you should have UART4 signals on pins P2.20 (RX) / P1.20 (TX) and can access those via /dev/ttyS4 in Pd with the s bela_setSerial etc as explained in the Pd example.
locoloop nice, thank you very much! sounds good, I'll report as soon as I sit down to try it and share my results, thanks a lot!!