B
B
blackgrom2019-10-30 19:43:37
Arduino
blackgrom, 2019-10-30 19:43:37

How to connect spi and i2c devices to Arduino at the same time?

There is an nrf24l01 oled display and arduino.
I want to make automatic watering of plants and so that I set the watering time in a clock. Somehow I did it and it worked, but the system is very slow, I tried to disable nrf for interest and everything worked very quickly, I thought that it was nrf, but no, it also works. I've looked online and it turns out I'm not the only one with this problem. If anyone knows what's wrong, you can help. (This is just guesswork, but it seems this is due to the fact that I don't know how to connect devices with i2c and spi interface to arduino at the same time, if anyone knows how to do this, you can help)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
max4107575, 2020-03-14
@max4107575

Perhaps it's the limited number of supported hardware interrupts, you can try using the Arduino Mega.
It is desirable to see the sketch in order to give a more accurate answer.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question