Đăng ngày: 12/04/2018
Hôm nay mình giới thiệu lập trình ghi đọc file text trên module sd card phần cứng chuẩn bị bao gồm , module micro sd card arduino uno r3 kết nối phần cứng: chân CS-4 MOSI-11 CLK-13 MISO-12 VCC- GND CODE MẪU #include <SPI.h> #include <SD.h> File myFile; void setup() { // Open serial communications and wait for port to open: Serial.begin(9600); while (!Serial) { ; // wait for serial port to connect. Needed for native USB port only } … Chi tiết