You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
633 B
19 lines
633 B
## This implies a adafruit_blinka version BELOW my contribution
|
|
## 'board' doesn't auto-recognize rockpi4cplus; the direct import shouldn't be needed
|
|
|
|
#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.
|