what value is written onto microcontroller pins if i send the value as character type in Embedded c program?
char and unsigned char are numeric types; whatever value you assign to a variable of type char or unsigned char is the value that the variable will hold. So the 0 and 1 values in the two calls are fine.

Yes, C also uses char to represent character values, but that's a convenience: it doesn't affect what values are held. If you assign 1 to a char variable, the variable holds the value 1. If you assign 'a' to a char variable, the variable holds whatever value the 'a' represents; these days it will be 97, which is the ASCII representation for 'a'.