|
@ -380,6 +380,7 @@ TIP: You can find more information https://git.swarmlab.io:3000/zeus/iot-swarm-e |
|
|
|
|
|
|
|
|
== How to communicate Arduino2Raspberry |
|
|
== How to communicate Arduino2Raspberry |
|
|
|
|
|
|
|
|
|
|
|
Blinking example (*) |
|
|
|
|
|
|
|
|
=== Arduino code - Blinking built-in diode example |
|
|
=== Arduino code - Blinking built-in diode example |
|
|
|
|
|
|
|
@ -453,7 +454,7 @@ void loop() { |
|
|
|
|
|
|
|
|
---- |
|
|
---- |
|
|
|
|
|
|
|
|
=== Raspberry Pi C language - Blinking built-in diode example |
|
|
=== Raspberry Pi C language |
|
|
|
|
|
|
|
|
[source,c] |
|
|
[source,c] |
|
|
---- |
|
|
---- |
|
@ -614,7 +615,7 @@ int main(int argc, char **argv) |
|
|
|
|
|
|
|
|
---- |
|
|
---- |
|
|
|
|
|
|
|
|
=== Raspberry Pi Python - Blinking built-in diode example |
|
|
=== Raspberry Pi Python |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[source,c] |
|
|
[source,c] |
|
@ -683,6 +684,7 @@ while True: |
|
|
|
|
|
|
|
|
---- |
|
|
---- |
|
|
|
|
|
|
|
|
|
|
|
(*) Original: https://rimstar.org/science_electronics_projects/raspberry_pi_to_arduino_serial_usb_communication.htm |
|
|
|
|
|
|
|
|
== Video |
|
|
== Video |
|
|
|
|
|
|
|
|