Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of LG2 by
Diff: pin.c
- Revision:
- 115:e5a230e5af52
- Parent:
- 87:7e575d26d6d0
- Child:
- 117:eefe61968528
--- a/pin.c Tue Apr 05 02:44:26 2016 +0000
+++ b/pin.c Tue Apr 05 10:31:28 2016 +0000
@@ -22,7 +22,7 @@
if((Gyro.PinReg & PinRegBit_2V) != (Gyro.PinRegOld & PinRegBit_2V)) {
if(Gyro.PinReg & PinRegBit_2V) ClrV2 else SetV2
}
-
+/*
//============= блок управления отладочным светодиодом======================
if((Gyro.PinReg & PinRegBitLED) != (Gyro.PinRegOld & PinRegBitLED)) {
if(Gyro.PinReg & PinRegBitLED) LoopOn else LoopOff
@@ -32,7 +32,7 @@
if((Gyro.PinReg & PinRegBitTXE) != (Gyro.PinRegOld & PinRegBitTXE)) {
if(Gyro.PinReg & PinRegBitTXE) TXOn else TXOff
}
-
+ */
Gyro.PinRegOld = Gyro.PinReg; //сохранение текущего регистра как старого для следующего такта сравнения.
}
\ No newline at end of file
