TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (385 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (97 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (139842 times)
  2. FAT32 Library (72209 times)
  3. Network Ethernet Library (57392 times)
  4. USB Device Library (47740 times)
  5. Network WiFi Library (43364 times)
  6. FT800 Library (42700 times)
  7. GSM click (29980 times)
  8. mikroSDK (28440 times)
  9. PID Library (26989 times)
  10. microSD click (26398 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Library

Schedulers

Rating:

11

Author: dany

Last Updated: 2016-02-18

Package Version: 2.0.0.0

Category: Other Codes

Downloaded: 6034 times

Followed by: 2 users

License: MIT license  

Scheduler (in a broad sense) related libs:

"Timebase"

"Timers"

"COS"

"COS_TimedOnly"

"StateMachine"

"StateMachine_2"

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Schedulers" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Schedulers" changes.

Do you want to report abuse regarding "Schedulers".

  • Information
  • Comments (11)

Library Blog

Available libs:

- Timebase: Permits elapsed time measurements in milliseconds or in seconds.

- Timers: permits creation of timers made of a single boolean flag that will be set after a predefined time.

- Cos: Cos stands for Cooperative Operating System. Handles immediate tasks, timed tasks and immediate tasks submitted from an ISR.

- Cos_TimedOnly: same as above, but only for timed tasks.

- StateMachine: Permits addition of a state machine to your project in an easy way. (added 2012-06-10)

- StateMachine_2: permits creation of multiple state machines in a project, this allows concurrent state machines and superstates.


The zipfiles have the same content as the package.
For P16, P18 and P24 only.


Have fun!

-------------------------------------------------------------------------------------------------------------------------------------------------
2012-06-08: The help section in the package and zip file has been updated.

-------------------------------------------------------------------------------------------------------------------------------------------------
2012-06-10: The unit "StateMachine" has been added. Documentation.

Example project: SourceFile and State Transition diagram.

-------------------------------------------------------------------------------------------------------------------------------------------------
2012-06-13: The unit "StateMachine_2" has been added. Permits to create more than one state machine in a project: allows concurrent state machines and superstates (state machines within states). Documentation.

-------------------------------------------------------------------------------------------------------------------------------------------------
2012-06-14
The "Cos" library has been changed to make cooperation possible with other code (e.g. a StateMachine): the Cos's endless loop can be avoided now.

------------------------------------------------------------------------------------------------------------------------------------------------
2012-06-24:
- Added the libraries for P16 also.
- Simplified the "Step" procedure in both state machine libraries

------------------------------------------------------------------------------------------------------------------------------------------------
2012-07-03:

* Added the libraries:
- Timers: permits creation of timers made of a single boolean flag that will be set after a predefined time, and
- Cos_TimedOnly: same as "Cos", but only for timed tasks.

* Refactored (partly) the Cos and the Timebase libraries (less ram, simpler code).

------------------------------------------------------------------------------------------------------------------------------------------------
2012-07-17:

The Timers library has been updated: it is made possible now to stop a timer before it reaches time-out.

------------------------------------------------------------------------------------------------------------------------------------------------
2012-07-19:
Code size of "Timers", "COS" and "Cos_TimedOnly" has been reduced. The functionality stays the same.

------------------------------------------------------------------------------------------------------------------------------------------------
2012-11-12: The microBasic package(s) ha(s)(ve) been added.

Only the .mcl files are available as "library" files: they are copied from the mikroPascal version (the mP and mB .mcl files are compatible - luckely - ).

If you want to see some sources: look into the mP versions.

The example files are still in mP, not in mB. (I do not have an mB licence, so I can not compile them).

Some of the helpfiles are also still referring to mP, but all library "interfaces" are available in the mB language.

------------------------------------------------------------------------------------------------------------------------------------------------
2012-12-07: The libraries "StateMachine_2" and "Cos_TimedOnly" have been updated: they are now compiled with SSA on (gave a problem when using the libs with mB).

------------------------------------------------------------------------------------------------------------------------------------------------
2013-02-07: Published the dsPIC packages.

---------------------------------------------------------------------------------------------------------------------------------------------
2013-05-18:
- Made "Timebase" independant from "StrngUtils".
- Deleted the "uses" clauses in "Cos" and "Cos_TimedOnly".

---------------------------------------------------------------------------------------------------------------------------------------------
2013-07-06: Removed an error in the example "CosExample.mpas".

----------------------------------------------------------------------------------------------------------------------------------------

2014-03-13: The mikroBasic files and zip files have been updated. All mB sources are present now (not tested if compilable though).

--------------------------------------------------------------------------------------------------------------------------------------

2014-03-16: Added to the StateMachine and the Statemachine_2 libraries the possibility to use "any state" as "fromstate" in the transition table. The ordinal value for "any state" is 255.


2015-01-26: Replaced the mB files: all mB files are compilable now (which e.g. means that all "with" statements are dealt with). I could however not link and test the libraries (no mB licence).


2015-02-17: Added the mP for PIC32 libraries. Only compiled, not tested.

ALSO FROM THIS AUTHOR

Menus

5

Menu machine capable of handling text based menus. It only handles the logical behaviour of the menu(s), not their physical appearance e.g. on an LCD: the using project should still define the display or drawing procedures.

[Learn More]

TFTP HTTP pic based file server for FAT32 sd/mmc cards

5

This is a small TFTP fileserver, using an mmc/sd card for file storage. "Small" means the software does not have an error/retry/timeout mechanism. Also file download via HTTP is implemented (URL = 192.168.123.90). This project uses the Ethernet libraries v3.5 by Yo2Lio.

[Learn More]

USB_NA

24

USB libraries, new architecture. Permits composite USB devices (possibilities: HID, CDC and MSD). -- for P18's or P24's with USB --
Version 1.1: Modified so that (changes to) values in "UsbProjectItems" like PID and VID are actually visible in the executable.

[Learn More]