-
Notifications
You must be signed in to change notification settings - Fork 8
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
Maybe vscp_core_process should return true if vscp_core_extPageReadData has to send data #43
Comments
Hi Kamil, Note, dealing with the ISR is MCU/user specific and not part of the framework. If the MCU is running, vscp_core_process() will return TRUE for a handled event. If there isn't a event to handle, it will return FALSE. |
My true - enviroment is that I have timer which executes every second:
And also it execute if CAN message is arrives. It works very well. But I found problem, that if controller ask about ext page read with many data to send, your framework assume that vscp_core_process is executed inity in loop.
will execute only once per second :-) I think that it should looks like this:
|
Yes, you are right. The ext. page read depends on your sleep interval in this case. |
@BlueAndi thank you! |
You are welcome. Note, the next release of the vscp-framework and the Arduino lib will probably come in my christmas vacation. |
Hi,
My implementation your framework uses events.So I would like to "sleep" MCU during waiting for CAN messages or IRQ.
But I discovered when ext page read is requested - "outside" program doesn't know and it cannot execute loop something like this:
What do you think? Maybe vscp_core_process should return true if something is need to handle?
Thanks
Kamil
The text was updated successfully, but these errors were encountered: