Message |
|
Something struck me.
I could make a 32 bit schedule info struct available as a compile option. For example setting something like TASKMGR_32BIT_SCHEDULE as a commented out define in taskManager.h. So a simple change to that file would modify your scheduling at the expense of slightly higher ram use. Albeit only about 20 or 30 bytes for most cases. This would allow more than a day of millisecond scheduling.
|
|
|
Latest IoAbstraction is now 1.4.
Improvements:
* First pass at analog device abstraction.
* Ability to call back in task manager in OO way
* Critical fix for task manager
|
|
|
Apologies for the delay by the way, there was a mis configuration in the forum and it was not sending me emails. I’ll get that fixed.
|
|
|
Yes, there is a limit in millisecond based scheduling at that threshold. It’s not for everyone and solves mainly short term scheduling for TcMenu.
Thanks for trying it anyway.
Dave.
|
|
|
|
|
|
Update: TcMenu 1.1 should be out any day now. Most of the packaging problems have been solved.
We are going through final testing before releasing it.
It will be a very significant update from 1.0
|
|
|
The good news is that I've finally got the packager working for JavaFX 11. I can now prepare a release in the next couple of days.
The improvements in the next release will be:
* Much improved validation of items
* Greater degree of confidence in generated code because of testing
* Library updater now built in
* Smaller all round thanks to Java Fx packaging on the desktop and smaller embedded code.
* Upgraded IoAbstraction and LiquidCrystalIO
|
|
|
Latest IoAbstraction is now 1.3.1 - containing an emergency fix for taskmanager.
|
|
|
A critical bug has been found in IoAbstraction and will be released ASAP - probably today. It causes a crash in task manager if the number of tasks is increased from 6. IE on any 32 bit board or when the max tasks define is other wise changed.
|
|
|
The number of switches can be changed from the default of 4 by setting the following define:
MAX_KEYS
It can either be done by editing SwitchInput.h in the library, or re-defining the value in the compiler settings. Changing it in your sketch will not work.
For task manager the setting to change the number of tasks from (AVR 6 tasks, SAMD 10 tasks) is:
DEFAULT_TASK_SIZE
It can either be done by editing TaskManager.h in the library, or re-defining the value in the compiler settings. Changing it in your sketch will not work.
|
|
|
I wish to use task manager with more switches than are supported by default, how can I change the settings?
|
|
|