Hey @salman and @Baozhu,
I had installed the grove LED bar library and the code will run the new #include <Grove_LED_Bar.h> however I still get error codes on telling the board that the LED is on D8 and D9 pins. I tried changing the “LED_Bar bar(9,8);” to “Grove_LED_Bar bar(9,8);” but I now get the error code 'no matching function to call".