Read chars to string until you see CR/LF. Then funkction toInt to get the integer like this:
String ss="413"; // string composed from digits from SD-Card
int nn=ss.toInt();
Read chars to string until you see CR/LF. Then funkction toInt to get the integer like this:
String ss="413"; // string composed from digits from SD-Card
int nn=ss.toInt();