Stefan Thom / SPITIS_TPM20

Files at this revision

API Documentation at this revision

Comitter:
LordOfDorks
Date:
Sat Apr 11 04:20:33 2015 +0000
Parent:
3:4b9ad18eae02
Commit message:
Added pullup for Interrupt

Changed in this revision

SPITIS_TPM20.h Show annotated file Show diff for this revision Revisions of this file
--- a/SPITIS_TPM20.h	Sat Apr 11 04:01:54 2015 +0000
+++ b/SPITIS_TPM20.h	Sat Apr 11 04:20:33 2015 +0000
@@ -236,6 +236,7 @@
         m_spi.format(8, 00);
         m_spi.frequency(4000000);
         m_chipSelect = 1;
+        m_interrupt.mode(PullUp);
         m_locality = TIS_NOT_IN_USE;
         m_intfCabability = 0;
         m_fixedBurstCount = true;