# Badger 2040; i2c pins

**URL:** <https://forums.pimoroni.com/t/badger-2040-i2c-pins/19327>\
**Category:** Support\
**Created:** [April 17, 2022, 10:37am UTC](https://forums.pimoroni.com/t/badger-2040-i2c-pins/19327 "2022-04-17T10:37:59Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [April 17, 2022, 6:52pm UTC](https://forums.pimoroni.com/t/badger-2040-i2c-pins/19327/5 "2022-04-17T18:52:55Z")

</div>

The following can be used,  
`i2c = PimoroniI2C(sda=(4), scl=(5))`  
in place of  
`i2c = PimoroniI2C(**PINS_BREAKOUT_GARDEN)`

There are other options to change the baud rate and specify the i2c0 or i2c1. You have to look at the pimoroni\_i2c.cpp file, and do some guess work. Not something I have had to do just yet.

---

_[View the full topic](https://forums.pimoroni.com/t/badger-2040-i2c-pins/19327)._
