SPLat Logo

Tutorial: Semaphores

NOTICE: We are updating our website. For product enquiries and orders please contact us directly.
NOTICE: SPLat Controls has moved. We are now at 1/85 Brunel Rd, Seaford, 3198. map

Tutorial: Semaphores

This tutorial covers the theory and use of semaphores in SPLat.

Semaphores allow you to greatly increase the effective amount of RAM in your SPLat board. Semaphores are the most efficient way of storing simple logical on/off, true/false, yes/no enable/disable information. Prior to semaphores you would usually use up a whole byte of memory to store a logical value. With semaphores it is easy to get 8 logical values per byte. That means you can have a large number of logical variables in your program and still only use up a fraction of the available RAM.