Skip to main content
Mohammad Rostamian
Associate III
October 28, 2018
Question

when, I creat a Semaphore, it's initial count is 1 before any Semaphore release, Why?

  • October 28, 2018
  • 0 replies
  • 484 views

Hi.

I am beginner in RTOS. I want to use A semaphore that release for push button. Another task use this semaphore to toggle Led.

at kernel of RTOS started, the LED was toggled once. I checked when I created Semaphore, it's count is one.

what Can I do?

Best Regards.

    This topic has been closed for replies.