Steppers should be disabled on startup

pull/126/head
Alex Voinea 2021-09-30 21:47:15 +02:00 committed by DRracer
parent ef997a6352
commit 6e50d902d2
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ void SHR16::Init() {
gpio::Init(SHR16_DATA, GPIO_InitTypeDef(Mode::output, Level::low));
gpio::Init(SHR16_LATCH, GPIO_InitTypeDef(Mode::output, Level::high));
gpio::Init(SHR16_CLOCK, GPIO_InitTypeDef(Mode::output, Level::low));
Write(0);
Write(SHR16_ENA_MSK);
}
void SHR16::Write(uint16_t v) {