Bau
Fork of Bertl by
Diff: ur_Bertl.cpp
- Revision:
- 18:1598fdb97db1
- Parent:
- 17:308802267a62
diff -r 308802267a62 -r 1598fdb97db1 ur_Bertl.cpp --- a/ur_Bertl.cpp Thu Nov 12 19:05:56 2015 +0000 +++ b/ur_Bertl.cpp Mon Dec 21 14:29:45 2015 +0000 @@ -39,7 +39,8 @@ char init2[2] = {0x7, 0xff}; i2c.write(0x40, init1, 2); i2c.write(0x40, init2, 2); - mg1 = mg2 = SPEED; + mg1 = SPEED; + mg2 = SPEED * OFFSET; _interrupt.rise(this, &ur_Bertl::increment); // attach increment function of this counter instance ie. motor sensor _count = 0; beepersInBag = 0;