Re: How to convert numbers from Binary to Decimal? Please Coment!:D

//receiver

#include <SPI.h>
#include <nRF24L01.h>
#include <RF24.h>

RF24 radio(6,7); //CE,CSN pins RF24L01

const byte rxAddr[6] = "00001"; //address of unit 1

 
void setup()
{
while (!Serial);
Serial.begin(9600);

radio.begin();
radio.openReadingPipe(0, rxAddr);
radio.startListening();
}

void loop()
{
if (radio.available())
{
char text[32] = {0}; // for word Amps1=
char Amps[8];
radio.read(&text, sizeof(text)); //prints the word Amps1=
radio.read(Amps, sizeof(Amps));// data received is giberish. need to clean it up

Serial.print(text);
Serial.println(Amps);
}
}