toggle led on bus access
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user