How to convert uint8 to int for maths operation in Arduino?
I am receiving a string from my bluetooth terminal in uint8 format. I want to convert it to integer for further processing. How can I do this? I tried toInt() but it is not working. Please help.


I am assuming that you are receiving to an uint8_t buffer and that it is correctly null terminated (i.e. zero as the last element). 

Try this:

uint8_t buffer[BUFFER_MAX];
...
int num = atoi((const char*) buffer);


Cheers!