try to fix submodule

This commit is contained in:
2023-11-09 19:02:15 -05:00
parent c1d45aa443
commit deea94b076
366 changed files with 40228 additions and 2 deletions

View File

@@ -0,0 +1,29 @@
#pragma once
#include "Arduino.h"
#if defined(_STM32_DEF_)
class STM32PWMInput {
public:
STM32PWMInput(int pin);
~STM32PWMInput();
int initialize();
float getDutyCyclePercent();
uint32_t getDutyCycleTicks();
uint32_t getPeriodTicks();
PinName _pin;
protected:
TIM_HandleTypeDef timer;
bool useChannel2 = false;
};
#endif