-
vscode platformIO Serial moniter not workingRead | Write/Tech 2023. 9. 9. 16:46
- 다음과 같은 기본적인 코드를 실행 시켰을 때 시리얼 모니터로 출력이 안 나오는 문제
#include <Arduino.h> void setup() { Serial.begin(9600); } void loop() { Serial.println("Hello World!"); delay(1000); }
vscode상 실행중인 moniter 기본 프로젝트 세팅이 정상적이라 가정,
다음 두가지 사항을 확인
1. platformio.ini 의 monitor_speed = 9600와 코드 상 Serial.begin(9600) rate값 확인
2. platformio.ini 에 다음 세팅 추가
monitor_dtr = 0
monitor_rts = 0
정상 출력 확인
'Read | Write > Tech' 카테고리의 다른 글
raspberry pi Wireguard client connection timeout (2) 2023.10.04 react-native pod install "iphoneos" cannot be located (0) 2023.09.22 [react native] npm run android - SDK location not found. (0) 2023.08.24 [react-native] npx expo run:ios Error installing hermes-engine (0) 2023.08.22 상태바 설정 (0) 2023.08.22