You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/hardware/02.uno/boards/uno-q/tutorials/01.user-manual/content.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -768,6 +768,7 @@ Create a new App in the Arduino App Lab, then copy and paste the example below i
768
768

769
769
770
770
1.**Linux (QRB) example to call a remote MCU function**
771
+
771
772
This Python script runs on the QRB and calls an MCU-exposed RPC named `set_led_state` once per second:
772
773
773
774
```python
@@ -788,6 +789,7 @@ Create a new App in the Arduino App Lab, then copy and paste the example below i
788
789
This sends a boolean to the MCU every second using `Bridge.call("set_led_state", <bool>)`
789
790
790
791
2. **MCU (STM32) setup to include the Bridge and start it**
792
+
791
793
This sketch includes the Bridge library and configures the LED pin.
792
794
793
795
```cpp
@@ -812,7 +814,7 @@ Create a new App in the Arduino App Lab, then copy and paste the example below i
812
814
813
815
***You can do the same the other way around, Python functions can be provided to the MCU sketch to be used locally.***
814
816
815
-
After pasting the Python script into your App’s Python fileand the Arduino code to the sketch, you can run the App and observe LED#3 blinking red every second.
817
+
After pasting the Python script into your App’s Python fileand the Arduino code to the sketch, you can run the App and observe LED#3 blinking in red every second.
0 commit comments