Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. Leofric

    GPIO Serial write and read

    Solved part of the issue from this https://docs.python.org/3/reference/lexical_analysis.html#literals Remaining issue either hardware or software on xy-lpwm signal generator. Anyone connected one to a Pi With Python?
  2. Using straightforward python3 code to send an external card commands via pi2 GPIO Tx and recieve confirmation via Rx. The card requires codes such as F140 D040 etc and returns 4 character text codes to confirm. Not working, so first testing by opening two terminals on pi, running the write test in one and the read test in the other, connected Tx and Rx. Transmitting F150 and D050. Rx shows b'F150' and b'D050'. Any ideas why? If not transmitting the read pogram shows b''