Change I2C Device Address
10460
Address Change for NXT-G:
- Download the change address program here.
- Open the NXT-G software and start a new program.
- Click the NXT Window.
- Make sure your NXT brick is connected and click the memory tab.
- Click Download, select changeaddr.rxe, and click OK.
- Attach your I2C device to sensor port 1.
- Run the program.
- The current I2C address of the device should show on the screen.
- Follow the onscreen instructions to select the new I2C address.
Address Change for EV3:
- Download the Mindsensors Change I2C address block.
- Install them into your EV3 programming environment using the instructions found here.
- Download the Change Address program here.
- Open the program in your EV3 programming environment.
- Attach your I2C device to sensor port 1.
- Type the current I2C address into the I2C address parameter.
- Type the desired I2C address into the new I2C address parameter.
- Run the program on your EV3 or NXT brick.
- The address will change the new address.
- Restart your EV3 brick to re-establish I2C communication on the new address.
Comments (0)
No comments at this moment
Please Login to add your comments