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

one more output line needed to control some devices in SPI mode #12

Open
noupu opened this issue Nov 27, 2013 · 2 comments
Open

one more output line needed to control some devices in SPI mode #12

noupu opened this issue Nov 27, 2013 · 2 comments

Comments

@noupu
Copy link

noupu commented Nov 27, 2013

Some devices (Nokia 5110) require one more output line (Code/Data) in SPI mode.

Could some extra commands (parentheses?) please be added to Bus-ninja to handle this?

Example:

initialize (command)

[ ( 0x21 0x14 0xaf 0x20 0x0e 0x43 0x8f )

draw (data)

0x55 0xaa

deactivate SS

]

@pfalcon
Copy link

pfalcon commented Nov 28, 2013

Note: this issue formulated is a bit confusingly, I hope I understand what you mean right. So, you're asking for extra adhoc command to control one pin. But what if you need to control 2, 5, 10 lines? I added generic port pin access commands to my fork: pfalcon@35b2e7f . I intended to clean it up and submit to mainline, but that got into backlog. Feel free to try it though.

@noupu
Copy link
Author

noupu commented Nov 29, 2013

Thanks, I was unaware of the branch. Hope to check it out soon.

There is some convenience, however, in having shortcuts to control one another pin (besides of SS).

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