How do I need to shift when I want to use longs and doubles?
@ElectroDevices-yi4mj2 жыл бұрын
Great Tutor ... 🔥🔥
@nuwannx Жыл бұрын
Thank you soo much ❤
@thanatlikitchontarn49233 жыл бұрын
easy to understand thank you for video
@amandaschulze50932 жыл бұрын
Man that's one awesome video. You explained that verry well and well understandable! Great video
@nikhiljoshi2769 Жыл бұрын
Superb
@Gocast22 жыл бұрын
Great explanation! learnt a lot
@verlidesouza Жыл бұрын
If you can't store values over 32768 without it being negative, make sure you're using an unsigned integer!
@jhengineering35783 жыл бұрын
Hi, thanks for explaining in depth, how to read and write to EEPROM by manually shifting the bits, without relaying on predefined arduino functions. I have a question if I could replicate the procedure and store 4 byte floats? Thank you.
@RoboticsBackEnd3 жыл бұрын
Yes, for a 4 bytes number you just need a few more lines of code, but the procedure is exactly the same! Check out the end of this article where I explain how to store a 4 bytes (long) data type. You should be able to get inspiration from that to store a float. roboticsbackend.com/arduino-store-int-into-eeprom/
@jhengineering35783 жыл бұрын
Thanks for the replay! I ended up storing the float by incrementing the address. I've tried to replicate the code by using the long data type example code, but I get this error saying " invalid operands of types 'float' and 'int' to binary 'operator>>' ".
@johnalbu23192 жыл бұрын
Thank You, Thank You
@Reaching1 Жыл бұрын
is there some example on how to alter your code in order to save and read more than 2 bytes? I need 4 bytes to save a big number. your example works really well, but I can't find out how to change the code to save and read 4 bytes instead of just 2
@RoboticsBackEnd Жыл бұрын
Here you can find an example to store 4 bytes: roboticsbackend.com/arduino-store-int-into-eeprom/
@Europayacht2 жыл бұрын
Merci beaucoup! .
@manfredbogner97995 ай бұрын
Sehr gut
@kimvuivoon48582 жыл бұрын
Nice video, May I know what is mean by address +1?
@RoboticsBackEnd2 жыл бұрын
"address + 1" means that if the current address is, let's say 178, then the "address + 1" will access the address 179
@alvinkuhutan29142 жыл бұрын
how to read and write a long integer in EEPROM?
@imwhatim72592 жыл бұрын
What about float value
@RoboticsBackEnd2 жыл бұрын
A float is stored on more bytes than an int, so you'll have to split the number into more bytes.