Char comparison doesn't work


hello again!!

i'm sending at+cipsend=100 command esp. may know, response coming module '>' char.

though indeed returning me, when try compare char, string, char[], char* or else, passes through condition , it's done.

i'm bit confused on why occuring.

thanks in advance!

and code looks like?

we can promise char comparison work

code: [select]
char = '>';

if (a == '>') {
// something
} else {
// else
}


and string comparison work (use strcmp function) too...

so did not try all...


Arduino Forum > Using Arduino > Programming Questions > Char comparison doesn't work


arduino

Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'