Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

16Bit Datenwort an I2c Adresse schreiben und lesen

andrax
2023-03-15
2023-03-21
  • andrax

    andrax - 2023-03-15

    Hallo zusammen,

    ich habe hier ein I2C Gerät welches mit 16Bit Datenwörten arbeitet.
    Ich muss z.B. 16#805D (0x805D) an die Adresse 16#63 senden.
    I2C_master.write(16#63, 16#805D,1) funktioniert leider so nicht.

    Wie kann ich das realisieren?

    Gruß

    Andre

     
  • andrax

    andrax - 2023-03-21

    Hat sich erledigt.
    Nachdem ich einen Logic Analyzer angeschlossen habe,
    hab ich festgestellt das die Daten ganz normal über write(pbyBuffer, nBufferLen) gesendet werden können.

     

Log in to post a comment.