Page 2 of 2

Re: Flowcode example Arduino and NRF24L01

Posted: Sun Oct 16, 2022 7:10 pm
by b.sgammato
Hello

you can see here too
https://www.matrixtsl.com/mmforums/view ... 76&t=22941
The example uses a PIC, but I think it works too
with Arduino.

best regards

Re: Flowcode example Arduino and NRF24L01

Posted: Sun Oct 16, 2022 7:21 pm
by zoli2496
Hello! :)

This is my setup right now, it works now, but the code compiler gives me a warning. (I wrote above)

Re: Flowcode example Arduino and NRF24L01

Posted: Sun Oct 16, 2022 7:24 pm
by zoli2496
Hello Martin! :)

This is my setup right now, it works now, but the code compiler gives me a warning. (I wrote above)
cs_ss_ok.JPG
cs_ss_ok.JPG (55.03 KiB) Viewed 2148 times

Re: Flowcode example Arduino and NRF24L01

Posted: Sun Oct 16, 2022 8:49 pm
by mnfisher
Good you have it working. The FC SPI code always outputs a warning on Arduino (AVR) platforms which can lockup if the pin is set as an input.

You are using pin 10 as chip enable - which is an output - so hopefully no problem. Arduino Uno shields usually use the pin as CS...

Martin