Jump to content

Dimitri Becker

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by Dimitri Becker

  1. On 4/17/2021 at 6:59 PM, Rolf Kalbermatter said:

    The underlaying API does not support that and it is quite logical. I2C and SPI are not really designed as bit protocols but as byte protocols. They address typical multiples of 8 or 16 bit per data transfer.

    The method to do what you want to do involves reading back the full 8 bit port, modify the bit in question and send back everything.

    Thank you for the response. I've checked the *.dll and you are right

     

    I found out, there is an "unchage" option in the "Set GPIO Values" VI, so it's very easy to implement one Pin opereations, simply making the rest "unchange" ;)

  2. Dear All

    I would like to set only one GPIO (configured as output) at once, not touching other 3. 

    VIs "set gpio values" and "set gpio settings" only setting all 4 together, right? Or am I missing something?

     

    Is there any solution for my problem? 

     P:S: i could read the GPIO status before every setting, and then set the needed one, leaving other 3 unchanged... but this is very "hacky" solution. 

    P.P.S. i'm not very familiar with Labview drivers. How could i create a "set one GPIO" - VI, with GPIO Number and value being set? 

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.