E2PRO2 / Mbed OS e2pro2-rfid-house

Files at this revision

API Documentation at this revision

Comitter:
janusboandersen
Date:
Fri May 03 16:26:48 2019 +0000
Parent:
13:af3d7d8d77fc
Commit message:
set precompiler constant ready for KL25Z users

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Fri May 03 15:56:34 2019 +0000
+++ b/main.cpp	Fri May 03 16:26:48 2019 +0000
@@ -18,6 +18,9 @@
               : 03 May 2019: Upgrade to RTOS 5.
               : 03 May 2019: Run two RFIDs simultaneosuly (changed library setup
               :              by decr. SPI freq. and adding reset managers).
+              : 03 May 2019: Include Room class (room.hpp) and tests
+ 
+ NOTICE! Set/check precompiler constant below controlling pinmap (KL25Z vs 432KC)
  
  Resources:
  https://github.com/armmbed/mbed-os
@@ -65,7 +68,7 @@
 #include "MFRC522.h"
 #include "room.hpp"
 
-#define COMPILING_FOR_KL25Z 0 //Set this to 1 to compile with KL25Z pins
+#define COMPILING_FOR_KL25Z 1 //Set this to 1 to compile with KL25Z pins
 
 #if COMPILING_FOR_KL25Z
   // FRDM KL25Z pins