STM32 - WiPy Communicaction



  • Good day for everyday.
    I'm new as a software developer and I want to know ¿How can I connect a Wipy with a STM32 F4 board to send and receive data?

    I atached this link where this theme is threated.

    Re: two uart.readline() statements give interchanged data in threaded function

    I need this information in low time to make a project, can you help me please?

    I thank all comments and help that you give me.



  • As the other topic mentions, you can use UART to connect between the STM32 and Wipy controllers. I don't think we have any ready made examples, but the code should not be very complicated. Something like below should do

    #init UART
    
    while True:
      if uart.any():
        input = uart.read()
        uart.write(output)
    

Log in to reply
 

Pycom on Twitter