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

Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

How to format a Get Request

avrdude: verification error, first mismatch at byte 0x0000 0x0c != 0x62