Step 5Read the Stream of Data
Read the stream of data
Well, I've already shown you how to read the data, as it's part of the Interrupt Service Routine for our falling edge external interrupt. An alternative method would be to set a flag in the ISR, and in the main loop poll the flag and read the data that way, but I believe the way I've presented it is cleaner. Be your own judge and write yours however your MCU will allow it.
That being said, let's move on to finding out how to detect when the card pulls an Elvis and has left the building.
| « Previous Step | Download PDFView All Steps | Next Step » |
![]() |
Add Comment
|














































