diff --git a/code/main.c b/code/main.c index 25eff86..c461489 100644 --- a/code/main.c +++ b/code/main.c @@ -67,7 +67,7 @@ void modbusGet(void) { { switch(rxbuffer[1]) { case fcReadHoldingRegisters: - PORTC |= 1 << 1; + PORTC ^= 1 << 1; // _delay_ms(10); // PORTC &= ~(1 << 1); uint32_t tmp = HX711_get_data(3, 4, 128);