1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2025-07-28 09:53:45 +02:00
still requires pin jiggling
This commit is contained in:
Asbelos
2022-02-23 16:21:45 +00:00
parent 1afb4753ec
commit 74bbe595fc
4 changed files with 9 additions and 1 deletions

View File

@@ -169,6 +169,11 @@ int MotorDriver::getCurrentRaw() {
}
void MotorDriver::setDCSignal(byte speedcode) {
// spedcxode is a dcc speed /direction
// TODO jiggle the DC speed pin PWMs
}
int MotorDriver::getCurrentRawInInterrupt() {
// IMPORTANT: This function must be called in Interrupt() time within the 56uS timer