Jump to content

AJB2K3

Eurobricks Citizen
  • Posts

    108
  • Joined

  • Last visited

Everything posted by AJB2K3

  1. Hmm noting is changing in the read so I'm missing something.
  2. Thanks, that's not a page I have seen yet.
  3. Got a response now just need to decipher the ports
  4. Well, thanks for your help but it turned out to be the pins were not as expected. My working code so far is as follows: For some reason the code function is not working.
  5. Ah Ok so 34 is the bytes in the string sent Isn't the Stop LED supposed to go out when it gets received? Here is my code and response. Python 3.10.5 (v3.10.5:f377153967, Jun 6 2022, 12:36:10) [Clang 13.0.0 (clang-1300.0.29.30)] on darwin Type "help", "copyright", "credits" or "license()" for more information. import serial ser = serial.Serial(port='/dev/cu.PL2303G-USBtoUART24110') ser.write(b'p\0###Do you byte, when I knock?$$$') 34 ser.read(16) However its seams to just sit there after issuing the ser.read(16)
  6. p\0###Do you byte, when I knock?$$$ Hi Guys new here and only got got an Interface B. My eventual goal is to control it from an M5Go Microcontroller via an RS232 adapter using Micropython. Currently I have it connected to a MAC via a PL2303 Usb adapter and I'm trying to communicate over python. I think I may have activated the Serial connection but when I serial write the command p\0###Do you byte, when I knock?$$$ Python console returns 34 Is something wrong or am I not understanding something? Can anyone help me?
×
×
  • Create New...