16 lines
482 B
Python
16 lines
482 B
Python
#import board
|
|
from adafruit_blinka.board.radxa.rockpi4cplus import *
|
|
|
|
import busio
|
|
import adafruit_si4713
|
|
import digitalio
|
|
|
|
#i2c = busio.I2C(board.SCL, board.SDA)
|
|
i2c = busio.I2C(SCL7, SDA7)
|
|
si_reset = digitalio.DigitalInOut(D29)
|
|
si4713 = adafruit_si4713.SI4713(i2c, reset=si_reset, timeout_s=0.5)
|
|
print("booted??")
|
|
|
|
# Calling this short script also boots the FM transmitter chip
|
|
# That is, if the demo script was interrupted, it'll continue transmitting, until this one is called.
|