I have a question: I have an Arduino Uno and a MicroSD shield. I want to light 3 LEDs from my PC via Arduino. Its something like this: I have a C program that writes 3 values in a txt file. Those values should ‘inform’ the uC what Led should be ON. Its possible to put that txt file on the MicroSD card and the Arduino to read the text from there? PC and Arduino are conneted via USB. Its something I can do like this?
The answer is yes though I have to wonder why you’d use an SD card to sneaker-net the the LED command to the Uno. If you have the USB connection all the time, you could just have the Arduino read what you type in the serial monitor window.
I guess you could use a separate microSD port connected directly to your computer to program in the text file, plug the microSD into your microSD shield, and have the arduino read that. Seems unnecessary when you can just do what ^^he^^ suggests.
**I looked up ‘sneaker-net’ after writing this and it means exactly what I just spelled out… Learn something new every day