ESP32 보드 버전 3.1.1 로 업데이트 되면서 이전에 사용하던 함수가 삭제되었습니다ledcAttachPin 과 ledcSetup 을 사용하지 못합니다그래서 ledcAttach 와 ledcChangeFrequency 를 사용하여 코드를 수정했습니다const int motor_resolution =10;const int motors[] = {23, 19, 18, 26};const int melody[] = {300, 400, 500};void setup() { ledcAttach(motors[0], 1000, motor_resolution); ledcAttach(motors[1], 1000, motor_resolution); ledcAttach(motors[2], 1000, motor_resolu..
드론에 스피커가 없기 때문에 모터에서 소리를 내어서 작동 상태를 알 수 있습니다드론이 초기 설정이 완료되어 날아갈 준비가 되면 소리를 내어서 확인 할 수 있습니다아래는 간단한 예제 코드입니다const int motor1 = 23;const int motor2 = 19;const int motor3 = 18;const int motor4 = 26;const int motor1_channel = 0;const int motor2_channel = 1;const int motor3_channel = 2;const int motor4_channel = 3;const int motor_resolution =11;const int melody[] = {262, 294, 330};void setup() { ledc..
- Total
- Today
- Yesterday
- Xingapi
- C# textbox 커서 시작
- c#
- 드론
- C# textbox 커서 위치
- c# SpeechSynthesizer
- NET FRAMEWORK
- 코딩
- MySQL
- 인삼키우기
- 스털링엔진
- 복호화
- framework
- 이베스트
- C# textbox 커서 마지막
- ESP32
- 베란타
- C# 마우스 폼이동
- c# Speech
- 시스템트레이딩
- 베란다 방울토마토
- 스털링
- 방울토마토
- c# 음성
- 암호화
- 이 행은
- 앉은뱅이 방울토마토
- c# 폼이동
- ArgumentException
- 베란다 텃밭
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |