If you’re unsure about your device’s address, and especially if you’re only going to use one I☬ device in your project, use a program called Arduino I2C Scanner to see each connected device’s address. I☬ modules include a default value for their address, but to set them up you’ll need to use jumpers or connect certain solder pads. Take note: you only need one resistor for each line, even if you’ve chained together multiple modules. Some boards even include built-in accommodations for these resistors. We use a 4.7kohm value for this setup, which is standard, but not essential. You’ll also need to attach SDA and SCL to a positive voltage through a pull-up resistor. Interrupt: Depends on the module and programming. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |