Skip to content

Commit

Permalink
Update SD_LB_SerialCmd.ino
Browse files Browse the repository at this point in the history
Added library version checking
  • Loading branch information
gpb01 committed Mar 15, 2022
1 parent 12074f2 commit 897fd3a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/SD_LB_SerialCmd/SD_LB_SerialCmd.ino
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
#include <SD.h>
#include <SerialCmd.h>

#if ( SERIALCMD_VER_NUM < 10103 )
#error "This program can compile only with SerialCmd version 1.1.3 or greater"
#endif

#define SD_CS 10 // Pin where the SD CS is connected
#define MAX_LBL 5 // Maximun number of labels in text file

Expand Down

0 comments on commit 897fd3a

Please sign in to comment.