I can read/write the RFM69 registers like a pro, but I can't get anything out of the antenna. Would someone PLEASE look at my code and tell me what I'm missing?
#intended for testing transmitter with spectrum analyzer
import spidev
import time
SPI_BUS = 0
SPI_SS = 0
SPI_CLOCK = 2000000 #Hz
spi = spidev.SpiDev(SPI_BUS, SPI_SS)
spi.max_speed_hz = SPI_CLOCK
rx = spi.xfer([0x81,0x0c]) #TX mode
i = 1
while True:
time.sleep(1)
rx = spi.xfer([0x80,0x55]) #address and data
print(i)
i = i+1
spi.close()