Skip to main content

Questions tagged [bytes]

A group of binary digits or bits (usually eight) operated on as a unit.

-1 votes
2 answers
454 views

I am trying to use LoRAWAN and sending tempurature values as less bytes. I found that way and tested it works fine it can send negative and positive numbers as 2 bytes instead of "float" as ...
mehmet's user avatar
  • 297
-1 votes
1 answer
78 views

I am a C# dev and these C++ data conversions are killing me. I have an Arduino sending binary data through LoRaWAN to AzureIOT. I am trying to decode my Temp/Humid/Bat payload that I am pulling out of ...
Terrence's user avatar
  • 103
1 vote
1 answer
1k views

I have to handle a String coming in over UART containing a bunch of information, part of it is a MAC-address that I get by using String.substring(a, b) returning a 12-char String representing a mac-...
Harald Lesan's user avatar
2 votes
0 answers
380 views

I'm try to read some value from a soil NPK sensor using RS485 Modbus e Arduino uno. I menage to sent the request msg and I got the response but now i don't know how to read the response in order to ...
Damiano Miazzi's user avatar
3 votes
1 answer
3k views

So I have a byte-array representing the display attached to my Arduino: byte theDisplay[8] = { B00000000, B00000000, B00000000, B00000000, B00000000, B00000000, B00000000, ...
gurkensaas's user avatar
0 votes
1 answer
404 views

I am trying to send data between Arduino Nano and D1 Mini (ESP 8266 Module) My Code as below in Nano which will be the transmeting , #include <DES.h> #include <SoftwareSerial.h> ...
VinRocka's user avatar
  • 145
0 votes
2 answers
338 views

I am trying to 3DES encryption using Serial Read, Found this 3DES Sample code in Github, #include <DES.h> DES des; void setup() { Serial.begin(9600); Serial.println("Hello!"); } ...
VinRocka's user avatar
  • 145
0 votes
2 answers
593 views

I've been trying to follow this example code for interfacing my atmega328P with Mpu6050: https://www.instructables.com/Accelerometer-MPU-6050-Communication-With-AVR-MCU/ And was wondering a couple of ...
Robin Svensson's user avatar
0 votes
2 answers
2k views

I have this long array of 64 values going from 0 to 15, values which only cost 8 bits, for a pulse width modulation. So I made a test to see its cost in space, commenting one of the two arrays. const ...
B7th's user avatar
  • 167
-1 votes
1 answer
1k views

My progress so far: #include <SoftwareSerial.h> SoftwareSerial ttySerial(10, 11); // RX, TX byte buffer; void setup() { // Open serial communications and wait for port to open: Serial....
Sterling Butters's user avatar
0 votes
1 answer
5k views

I'm trying to use the RF24 library for wireless communication. However, it appeared that this library does not have "help" option. There was a keywords file but it did not explain what it does. I ...
ShoutOutAndCalculate's user avatar
1 vote
3 answers
4k views

You can extract the low-order (rightmost) byte of a variable or the high-order (leftmost) byte of a word with the functions lowByte() and highByte() respectively (the quotes are from the Arduino ...
LukasFun's user avatar
  • 295
1 vote
2 answers
552 views

I am using an infrared sensor called OTI301. In its data sheet it says that in order to obtain object temperature and ambient temperature values I need to extract the binary information from the ...
Santiago Restrepo Serna's user avatar
2 votes
2 answers
2k views

I am trying to convert a char[12] array that contains a Mac Address into a byte[6] in order to use within the Ethernet.begin method. I have tried various methods from online, but had little success to ...
BelGaraath's user avatar
1 vote
2 answers
614 views

I have created a byte for 16x2 LCD. It is basically a custom character which I will have to change later. byte char[8]{ B10000, B01000, B00100, B00010, B00001, B11000, B11100 }; I want to edit ...
Nouman's user avatar
  • 217

15 30 50 per page