const int v. #define
i use code: [select] #define maxcount 50 a lot constants minimize amount ram used. in lot of sample code see code: [select] const int maxcount=50; for constants. there advantage 1 way or other? plenty of threads on subject on forum. Arduino Forum > Using Arduino > Programming Questions > const int v. #define arduino