I would like to execute the basic summ opération (2+1) on a pyboard 2 through uart from a pyboard 1 script.
I tried this :
On the pyboard1 :
Code: Select all
import pyb
repl_uart = pyb.UART(4, 115200)
repl_uart.write("1+2") # the to execute
Code: Select all
import pyb
repl_uart = pyb.UART(4, 115200)
pyb.repl_uart(repl_uart)
What is the problem ?