Skip to content

icoman/JAL-scheduled-tasks

Repository files navigation

Schedule tasks in JAL with TMR0

JAL code generator written in python 2.7 and PythonCard - blog announcement.

Use this code to quick generate and compile a JAL application.

The application generate initialize JAL code for selected PIC processor, for TMR0 and for interrupt routine of TMR0.

The interrupt routine of TMR0 advance counters and let tasks be executed when are scheduled.

In the image TMR0 is configured to generate interrupts each millisecond.

JAL Scheduled Tasks with TMR0

I have discovered that after 11 years since latest update (2006) of PythonCard, the solution still works in Windows, Linux and OpenBSD, even with latest wx Python, 3.0.2.0.

I have many projects based on PythonCard which works both on Windows and Linux.

License-free software.

Feel free to use this software for both personal and commercial usage.

Don't forget to update the config file (config.json) with path to your JAL compiler.

Bonus: cx_freeze and pyinstaller scripts.

Releases

No releases published

Packages

No packages published