Steppers should be disabled on startup

pull/122/head
Alex Voinea 2021-09-30 21:47:15 +02:00
parent 7a00f10238
commit 11cf2fb1f3
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) {