Hi, sorry for the newbie question...
I have an Arduino (Atmega8-based) and need to read the serial data from a RF Module
and pass that value on to a digital pot over SPI.
Am I right in thinking that both the serial library and the SPI library are using the MISO/MOSI Arduino pins?
How can I use both interfaces at the same time?
Thanks in advance.
Phillip
Am I right in thinking that both the serial library and the SPI library are using the MISO/MOSI Arduino pins?
No. Where did you get that idea? The serial port is pins 0 and 1 on the Arduino. These pins have nothing to do with SPI.
How can I use both interfaces at the same time?
Easy. As Nike says - just do it.
PaulS:
No. Where did you get that idea? The serial port is pins 0 and 1 on the Arduino. These pins have nothing to do with SPI.
Uuupss... I've been working with ATTiny13s and Bascom lately, guess that messed up my brain :-).
Thanks a ton and sorry.