![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
forkd
Fork of LG2 by
Diff: vibro.c
- Revision:
- 226:4a4d5bd5fcd7
- Parent:
- 218:b4067cac75c0
- Child:
- 227:2774b56bfab0
diff -r f8fee6c586cc -r 4a4d5bd5fcd7 vibro.c --- a/vibro.c Tue Dec 12 05:53:39 2017 +0000 +++ b/vibro.c Tue Dec 26 05:14:09 2017 +0000 @@ -7,13 +7,62 @@ unsigned int OldMaxAmp=0,countFras=0; int z=25; int i=16,tempi=0,klk=0; + + __irq void EINT3_IRQHandler() { - Gyro.EXT_Latch=1; - // Gyro.DeltaEXT_Event=1; - // Gyro.B_Delta_EventEXT=1; + + Gyro.EXT_Latch=1; LPC_GPIOINT->IO0IntClr |= (1<<1); - // CMD_Delta_Bins(); + LoopOn + LoopOn + LoopOn + LoopOn + LoopOn + + LoopOn + LoopOn + LoopOn + LoopOn + LoopOn + LoopOn + LoopOn + LoopOn + LoopOn + LoopOn + LoopOn + + LoopOn + LoopOn + LoopOn + LoopOn + LoopOn + LoopOn + LoopOn + LoopOn + LoopOn + LoopOn + LoopOn + + LoopOn + LoopOn + LoopOn + LoopOn + LoopOn + LoopOn + LoopOn + LoopOn + LoopOn + LoopOn + LoopOn + + LoopOn + LoopOn + LoopOn + LoopOn + LoopOn + LoopOn + }