How can i send numbers like 300 or 1024 ?
I'm using the recommendation of the atmel's manual.
void SpiTransmitir(unsigned char data)
{
SPDR = data;
while(!(SPSR & (1<<SPIF)));//{Serial.println("While");}
}
I imagined that one bit shift could be the solution, but it still fails.