"Init" or "setSpiPin" first
frspp opened this issue · comments
Hi!
Readme is confusing:
ELECHOUSE_cc1101.Init(); //Initialize the cc1101. Must be set first!
ELECHOUSE_cc1101.setSpiPin(SCK, MISO, MOSI, CSN); //custom SPI pins. Set your own Spi Pins.Or to switch between multiple cc1101. Must be set before init and before changing the cc1101.
So which should be first: .init() or .setSpiPin()?
made a pull request for readme