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

Functions that need to be replaced #1

Open
BayesianScrub opened this issue Jul 19, 2018 · 2 comments
Open

Functions that need to be replaced #1

BayesianScrub opened this issue Jul 19, 2018 · 2 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@BayesianScrub
Copy link
Collaborator

These functions need to be created for the rpi to interface with it's GPIO.
pinmode()
could be replaced with a table of #defines
dataPin
registerSelect
clockPin
chipEnable
resetPin

digitalWrite() is used to directly drive a pin high or low, and will need to be replaced with a GPIO alternative.

shiftOut() a better option would be to find a standard protocol that we could use.

@BayesianScrub BayesianScrub added bug Something isn't working enhancement New feature or request labels Jul 19, 2018
@u6bkep
Copy link
Owner

u6bkep commented Jul 19, 2018

as far as I can tell, the interface for the Arduino pin control is the same as the pin control for the wiringPi library. but we still need a replacement for shiftOut().

@u6bkep
Copy link
Owner

u6bkep commented Jul 19, 2018

we also need to find a replacement for the arduino print.h dependency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants