digitalWrite (SSpin, LOW);upperbyte = SPI.transfer(0); // dummy transfer of 0 out, while reading data in at the same timelowerbyte = SPI.transfer(0); // with other chips, these might be real data out, to select a channel for instancedigitalWrite(SSpin, HIGH);
I sort of underatnd that but i thought the digital pins on the arduino could only read high or low. I could put a A to D converter before the arduino but does it still have to communicate through the analogue ports. I dont understand how the digital pins can read 2 bytes.Thanks
I sort of underatnd that but i thought the digital pins on the arduino could only read high or low
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16