Create Counting Semaphore
#Firmware/v310 #Threads
semo = semaphore.new( [value] )
Create and return a new semaphore object, with optional initial value value.
value
Default value is 0 (zero).
See: 🗒️ Semaphore Object Intro
See: 🗒️ Semaphore Library > Example