NXC: BT NXT to NXT msg from slave to master
-
- Posts: 220
- Joined: 23 Jan 2012, 17:07
- Location: Round Rock, TX
Re: NXC: BT send from slave to master
I looked at the code you posted in the attachment and didn't see anything I would identify as a "semaphore". (I did see some mutexes.) What code are you using for a semaphore?
McSummation aka James
http://www.mcsummation.com/Mindstorms/
http://www.mcsummation.com/Mindstorms/
Re: NXC: BT send from slave to master
as semaphores I use global variables which are set by/for independend tasks to indicate that a message for a remote job has to be sent or that a remote job has been finished and which are reset after that transmission. Just call them simply "global variables", it's actuallly nothing else.
Who is online
Users browsing this forum: Google Adsense [Bot] and 2 guests