goodevening i need some advice on connecting a 2.8 inch touchscreen display, an nrf24, an sd card to save data from sensor. i will be using an arduino mega but am clueless as all the three module am using will use the same pin on the mega(mosi,miso,sck). is there a way i can make all module work at the same time?
They all share the SPI bus, as intended. Each device has a different select pin (SS).
Learn about it here: Arduino - SPI
thx 4 the reply but will the touchscreen stay updated when the sd card and nrf24 is communicating
Try it and let us know.