Reading chars from serial to light up LED's

I have a C++ program that reads light status from Falcon BMS and sends out binary number but in char format. How can I read that numbers from serial to light up 7 LED's?


This is what C++ program sends. I'm requesting 7 leds from C++ program, they are all same (Master Caution)


This is how it looks like when Master Caution is on