-
Notifications
You must be signed in to change notification settings - Fork 240
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
Unable to receive data when interrups are being used. #58
Comments
Ciao @MichMich Mich, my suggestion is to try to use interrupts on the bus, to detect the incoming packet or an initial HIGH you can generate, before transmitting, and detach the interrupts are now messing with PJON, for the time you need to receive or transmit. |
Ciao @MichMich, 2.0 is finally out stable. |
I've been checking out this solution, but still PJON seems to have to much of an impact on my stepper motors. I'm trying some other solutions now to see if I can get better results. |
Ciao @MichMich Thank you for your report. I am studiyng a solution |
Ciao @MichMich take a look to version 5! |
Since I want to use PJON for a stepper motor project, I need to use interrups. The interrups make sure the motor runs, while the main runloop is free for other tasks (like receiving any network communication).
Unfortunately, PJON is unable to receive any messages, while the interrupts are active. If I disable the interrups, everything works fine.
Any idea how to solve this?
I'm using https://github.com/PaulStoffregen/TimerOne to configure the interrups, and run the interrupts on a 50 microsecond interval.
The text was updated successfully, but these errors were encountered: