Difference between revisions of "HackerHotel2019Badge/MicroPython"

From Badge team
Jump to navigation Jump to search
(Created page with "This is incomplete .. See MicroPython for basics . . See audio for more on audio. See IR for more on IR.")
 
Line 6: Line 6:
  
 
See [[HackerHotel2019Badge/IR|IR]] for more on IR.
 
See [[HackerHotel2019Badge/IR|IR]] for more on IR.
 +
 +
```
 +
from machine import I2C
 +
i2c = I2C( sda=Pin(26), scl=Pin(27), freq=100000 )
 +
i2c.scan()
 +
```

Revision as of 21:58, 13 February 2019

This is incomplete ..

See MicroPython for basics . .

See audio for more on audio.

See IR for more on IR.

``` from machine import I2C i2c = I2C( sda=Pin(26), scl=Pin(27), freq=100000 ) i2c.scan() ```