Sukkpranhachai Gatesichapakorn
/
TAIST_modbus
New group
Fork of TAIST_modbus by
Diff: main.cpp
- Revision:
- 22:fcde97240c38
- Parent:
- 18:47f0da1f232b
--- a/main.cpp Wed Mar 14 14:54:47 2018 +0000 +++ b/main.cpp Wed Mar 14 14:56:40 2018 +0000 @@ -40,7 +40,7 @@ { y = cunt_released; modbus_update(0, y); - printf("released = %.1f sec\n",modbus_read(0)*0.1); +// printf("released = %.1f sec\n",modbus_read(0)*0.1); } if(button==0){ ticker.attach(callback(&pressed_cunt),0.1); @@ -53,7 +53,7 @@ { x = cunt_pressed; modbus_update(1, x); - printf("pressed = %.1f sec\n",modbus_read(1)*0.1); +// printf("pressed = %.1f sec\n",modbus_read(1)*0.1); } if(button==1){ ticker.attach(callback(&released_cunt),0.1);