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

Erratic initialization, python example code fails #7

Open
janetburson opened this issue Oct 19, 2020 · 0 comments
Open

Erratic initialization, python example code fails #7

janetburson opened this issue Oct 19, 2020 · 0 comments

Comments

@janetburson
Copy link

The first unit we purchased suddenly began to fail initialization. We thought we had damaged it and purchased another one.

Now, the second unit is starting to behave the same way, but it is more erratic.

If you run the main.c example code provided, it works about half the time; sometimes a little more, sometimes less. Otherwise, it fails initialization and bails. It has never initialized 100% of the time on either board, but it wasn't like this...

The companion main.py code does not run at all. You can run it 100 times and it doesn't initialize once. Once the board initializes it works OK, with just an occasional failed read, although even that seems like it shouldn't happen at all.

  1. What differences between your C code and Python code should I be looking for?
  2. What would account for the erratic performance of the boards at init time?
  3. What would account for the failed reads?

Since I am integrating this into a python application, I'd prefer to use your Python libraries rather than trying to integrate C code into the app.

@janetburson janetburson changed the title Erratic initialization, python example code failes Erratic initialization, python example code fails Oct 19, 2020
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

1 participant