NXT NXC BT sensor+motor multiplexer net: 1 master + 3 slaves

Discussion specific to projects ideas and support.
Post Reply
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

NXT NXC BT sensor+motor multiplexer net: 1 master + 3 slaves

Post by HaWe »

hi,
this is the NXC code for a Bluetooth sensor and motor multiplexer network.

1 NXT master can connect to up to 3 NXT slaves to read all the slave's sensors and to control all the slave's motors.

In the master's code you specify the number of slaves to be connected by the function

Code: Select all

StartBTMuxNetwork(1);   // (1), (2), (3): number of slaves to be connected
http://www.mindstormsforum.de/viewtopic ... 852#p56852
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests