Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sample code #9

Open
diginfo opened this issue Jul 13, 2014 · 1 comment
Open

sample code #9

diginfo opened this issue Jul 13, 2014 · 1 comment

Comments

@diginfo
Copy link

diginfo commented Jul 13, 2014

Hi;
My apologies, through a lot of trial and error I have managed to solve my initial problems with I/O control.

If I have multiple devices on the network, and have the gpio.pin set as a cs pin, how do I select the pin prior to a data transfer to that the correct device is selected ?

Do I have to do this by defining the pin as an i/o pin and then pull it high/low before and after a data transfer or is there a method that uses the cs pin instead ?

Also, is it possible to do data transfer using hex values i.e: dev.transfer(0x8d,0x14,0xaf)

@Makhathini
Copy link

Hi, did you manage to solve your problem? If yes, can you please share. I am in a similar situation at the moment ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants