Library SX1276 Pinout for DISCO_B_L072CZ-LRWAN1 Board

Fork of SX1276Lib by Semtech

Files at this revision

API Documentation at this revision

Comitter:
Picard22
Date:
Tue May 30 23:37:42 2017 +0000
Parent:
26:d09a8ef807e2
Commit message:
corrected for DISCO-L072CZ Pinout

Changed in this revision

sx1276/sx1276-hal.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r d09a8ef807e2 -r 53d98539c28f sx1276/sx1276-hal.cpp
--- a/sx1276/sx1276-hal.cpp	Mon Apr 24 09:26:23 2017 +0000
+++ b/sx1276/sx1276-hal.cpp	Tue May 30 23:37:42 2017 +0000
@@ -56,9 +56,10 @@
                         :   SX1276( events, D11, D12, D13, D10, A0, D2, D3, D4, D5, D8, D9 ),
                             AntSwitch( P0_23 ), 
                             Fake( A3 )
-                        #else
-                        :   SX1276( events, D11, D12, D13, D10, A0, D2, D3, D4, D5, D8, D9 ),
-                            AntSwitch( A4 ), 
+                       
+                        #else( TARGET_DISCO_L072CZ )
+                        :   SX1276( events, PA_7, PA_6, PB_3, PA_15, PC_0, PB_4, PB_1, PB_0, D6, PA_5, PA_4 ),
+                            AntSwitch( PA_1 ), 
                             Fake( A3 )
                         #endif
 {