카페검색 본문
카페글 본문
-
[Arduino 실습 43] SSD1306 I2C OLED 사용하기-5 2024.06.19해당카페글 미리보기
for(;;); } delay(2000); // Pause for 2 seconds // Clear the buffer. display.clearDisplay(); // Draw bitmap on the screen display.drawBitmap(0, 0, image_data, 128, 64, 1); display.display(); } void loop() { } 9. 파일 bmp_out.ino 6.92KB
-
[Arduino 실습 42] SSD1306 I2C OLED 사용하기-4 2024.06.19해당카페글 미리보기
10, 10, 55, 20, 5, 40, WHITE); display.display(); delay(3000); // Invert and restore display, pausing in-between display.invertDisplay(true); delay(3000); display.invertDisplay(false); delay(3000); } void loop() { } 13. 파일 rect.ino 1.83KB
-
[Arduino 실습 41] SSD1306 I2C OLED 사용하기-3 2024.06.19해당카페글 미리보기
0x00, 0x07); delay(2000); display.stopscroll(); delay(1000); } 혹시몰라 파일을 첨부한다. oled_i2c_move.ino 1.14KB 이번에는 FONT를 교체해보자 OLED 디스플레이에 더 잘 어울리는 글꼴은 9포인트와 12포인트 크기입니다 Font 프로그램 절차 1. 해당...
-
[Arduino 실습 40] SSD1306 I2C OLED 사용하기-2 2024.06.19해당카페글 미리보기
수정한다 = 모든 예제 프로그램을 이런식으로 수정하면 된다. 혹시몰라 소스코드 파일도 같이 올린다 ssd1306_128x64_i2c.ino 11.70KB 참고링크입니다. https://randomnerdtutorials.com/guide-for-oled-display-with-arduino/ Guide for I2C OLED Display...
-
[Arduino 실습53] MPU-6050 비행기 모형 시뮬레이션 2024.06.19해당카페글 미리보기
설치해야 합니다. 1. MPU-6050 Arduino 라이브러리 MPU6050.zip 484.48KB 2. Arduino 소스코드 MPU6050_DMP6_using_DMP_V6_12.ino 8.95KB #define OUTPUT_TEAPOT // 방위각 == // 비행기 모형 시뮬레이션 #ifdef OUTPUT_TEAPOT // 비행기 모형 시뮬레이션...
-
[Arduino 실습41] MPU6050-DMP 2024.06.19해당카페글 미리보기
다운받아 돌려보시고, 다음에는 모듈화하여 별도파일로 만들어 올리도록 하겠습니다. MPU6050_DMP6_using_DMP_V6_12.ino 8.87KB 해당되는 라이브러리 입니다. 내문서에 Arduino 라이브러리 포더에 압축을 풀면 됩니다. MPU6050.zip 484.48KB #include "I2...
-
[Arduino 실습52] RFID Test 2024.06.19해당카페글 미리보기
예제 소스입니다. 예제\ MFRC522 \ ReadNUD 제공되는 예제 소스코드 입니다. 주로 이 소스코드를 많이들 활하는거 같습니다. RFID.ino 5.44KB...
-
[Arduino 실습51] 수위센서 2024.06.18해당카페글 미리보기
My_Arduiono_ADC_Lib_V1_0.h 418B sensor1.ino 419B #include "My_Arduiono_ADC_Lib_V1_0.h" void setup() { // put your setup code here, to run once: Serial.begin(115200); } void loop() { // put your main code here, to run repeatedly: Serial...
-
[arduino 49] RTC DS1302 2024.06.18해당카페글 미리보기
RTC_DS1302.ino 1.38KB #include <virtuabotixRTC.h> #define CLK 14 // A0 #define DATA 15 // A1 #define RST 16 // A2 virtuabotixRTC myRTC(CLK, DATA, RST); void setup() { Serial.begin(115200); pinMode(RST, OUTPUT); digitalWrite(RST, 0...
-
[Arduino 실습 48] 스텝핑모터 여자방식 간략화 소스 2024.06.18해당카페글 미리보기
모든 여자방식을 간략화하여 정리하여 프로그램 했습니다. 참고로 보세요 My_Arduino_GPIO_Lib_V1_6.h 3.62KB st_motor_2.ino 1.96KB #include "My_Arduino_GPIO_Lib_V1_6.h" #define in1 8 // A상 #define in2 9 // B상 #define in3 10 // /A상 #define...