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

PIN_INPUT_PULL_UP has been deleted #218

Open
fletchjp opened this issue Jul 13, 2021 · 5 comments
Open

PIN_INPUT_PULL_UP has been deleted #218

fletchjp opened this issue Jul 13, 2021 · 5 comments

Comments

@fletchjp
Copy link

Hi, I am new to using Simba. I am working on Arduino Uno using the Arduino IDE. I have the hello world and blink examples working. I want to convert an Arduino code I have which uses the PIN_INPUT_PULL_UP option which is in the documentation for Simba version 10 (I found that documentation) but not I find in version 15.

Is there some way to configure a pin for PIN_INPUT_PULL_UP using Simba?

Thanks

John Fletcher

@eerimoq
Copy link
Owner

eerimoq commented Jul 13, 2021

I'm sorry, but I don't have time to help right now. I suggest that you browse the Simba source code to find out what is available. The pin modules and their ports shouldn't be too hard to find in the src/drivers directory.

Erik

@fletchjp
Copy link
Author

Erik

Thank you for your response.

Would you at lease indicate which was the last version to have the pullup code?

John

@fletchjp
Copy link
Author

It seems to me that the problem is that when I am running Simba using the Arduino IDE I am picking up an old version of Simba, with the wrong version of the file pin.h. I don't know how that has come about. I have 15.0.3 installed according to the boards manager and when I click on more_info it tales me to the master branch in GitHub with the version of pin.h which defines PIN_INPUT_PULL_UP. Yet when I compile and run it finds the one without that definition.

@eerimoq
Copy link
Owner

eerimoq commented Jul 14, 2021

It was likely a very long time since the latest Simba release for Arduino. As the interest has been close to zero for Simba on Arduino, and Simba in general, I don't put more time into the project at the moment. Sorry.

@fletchjp
Copy link
Author

I have located the updated version of the files. The file structure for Arduinos is different from the master download and I cannot see how to swap the files in without a lot of work. There must be a way to configure the Arduino installation. I am stopping work on this.

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