#include <stdio.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
void app_main()
{
//declaration of the variable
uint8_t number = 25;
//siple print satement
printf("Binary representaition of 25:0b");
//looping backwards from 7 through to 0
for( int i = 7; i >= 0; i--)
{
//prints the value in decimal form, number>>i shifts the binary number right by however many iterations of the oop it has gone through, the & 1 checks the current bit against 1
printf("%i", (number >> i) & 1);
}
printf("\n");
}