Basic buzzer framework

This commit is contained in:
Pawel Spychalski (DzikuVx)
2017-10-28 19:35:06 +02:00
parent d29f76fa7c
commit 74cb084017
4 changed files with 21 additions and 17 deletions

View File

@@ -1,6 +1,6 @@
#pragma once
#define OLED_UPDATE_RATE 300
#define OLED_UPDATE_RATE 500
#define SBUS_UPDATE_RATE 15 //ms
#define SBUS_PACKET_LENGTH 25
@@ -58,6 +58,8 @@ enum debugConfigFlags {
#define PPM_INPUT_CHANNEL_COUNT 10
#define PPM_OUTPUT_CHANNEL_COUNT 10
#define TX_BUZZER_PIN A5
#define PPM_CHANNEL_DEFAULT_VALUE 1500 //set the default servo value
#define PPM_FRAME_LENGTH 30500 //set the PPM frame length in microseconds (1ms = 1000µs)
#define PPM_PULSE_LENGTH 300 //set the pulse length