Skip to main content

Questions tagged [byte-order]

Filter by
Sorted by
Tagged with
2 votes
2 answers
2k views

Background I'm reading a 24-bit ADC value into a uint32. Using SPI bus, here's the logic: value = SPI.transfer(0); // read first 8 bits (MSB first) value <<= 8; // shift ...
hazymat's user avatar
  • 121
3 votes
2 answers
23k views

I'm reading a RFID Card from RC522 and send the data to my computer. My problem is the conversion of byte[] to String or std::string. #define SIZE_BUFFER 18 #define MAX_SIZE_BLOCK 16 byte ...
Augusto's user avatar
  • 131
0 votes
3 answers
350 views

I'm trying to solve some problems for a contest, and I have a problem with it. I have to implement a function that has 3 arguments like this: void foo(unsigned char* A, unsigned char* B, unsigned ...
qqq1ppp's user avatar
1 vote
3 answers
1k views

I'm using Atmel Studio with Atmega328P. I'm trying to send the decimal number 876 continuously from the micro-controller. This was just to learn. To send 876 I need two bytes which is: 0x036C = ...
floppy380's user avatar
  • 245
1 vote
1 answer
2k views

I'm working on an adaptation of Jason Leyrer's Guitar Hero Library for Arduino. My version is for a DJ Hero controller, and I've also borrowed some code from this Arduino forum thread: topic=120527 (...
rozling's user avatar
  • 13