# Running code on rpi 4b inside blueos

**URL:** <https://discuss.bluerobotics.com/t/running-code-on-rpi-4b-inside-blueos/17909>\
**Category:** Blue Robotics Software\
**Tags:** pymavlink\
**Created:** [September 6, 2024, 1:25pm UTC](https://discuss.bluerobotics.com/t/running-code-on-rpi-4b-inside-blueos/17909 "2024-09-06T13:25:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![erkamtb](https://avatars.discourse-cdn.com/v4/letter/e/3da27b/32.png) [@erkamtb](https://discuss.bluerobotics.com/u/erkamtb)\
**Post date:** [September 6, 2024, 1:25pm UTC](https://discuss.bluerobotics.com/t/running-code-on-rpi-4b-inside-blueos/17909/1 "2024-09-06T13:25:16Z")

</div>

Hello. I am running BlueOS on an RPi 4B, and I need to output digital signals from 4 GPIO pins on the RPi (preferably triggered by pressing a button on the controller). Alternatively, if possible, I can also do this via the Pixhawk 2.4.8, but my main preference is to do it through the RPi. Is this possible, and if so, how can I achieve it?
