- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Yash Sanghvi has Published 220 Articles
Yash Sanghvi
2K+ Views
The Arduino-MemoryFree library can be used to obtain the free RAM within your Arduino. In order to use this library, install it first. The instructions to install a third-party library in Arduino are given here: https://www.tutorialspoint.com/using-a-third-party-library-in-arduinoOnce installed, go to: Files → Examples → Arduino-MemoryFree.ExampleAs you can see the BareMinimum example ... Read More
Yash Sanghvi
1K+ Views
The CronAlarms library in Arduino helps you set cron jobs in Arduino. If you aren't aware of cron jobs, they are scheduled tasks to be carried out at a fixed time interval. An example can be sending a health packet to a server every day at midnight.In order to install ... Read More
Yash Sanghvi
587 Views
The ArduinoJSON library, as the name suggests, helps you work with JSON objects on Arduino. In order to install it, go to the Library Manager and search for ArduinoJSON. Install the library by Benoit Blanchon.This is one of the very heavily documented libraries. In fact, it has its own website ... Read More
Yash Sanghvi
104 Views
The syntax for deserialization is as follows −deserializeJson(doc, json)where doc is the JSON Document in which you will store the deserialized output, and json is the buffer containing the JSON contents.The good news is that the buffer can be taken directly from the PROGMEM. In other words, if you don't ... Read More
Yash Sanghvi
1K+ Views
You can declare two types of JSON Documents with the ArduinoJson library - StaticJsonDocument and DynamicJsonDocument. Both need the capacity (in bytes) to be specified at the time of declaration.For static docs, the declaration syntax is −StaticJsonDocument doc_name;For example −StaticJsonDocument myDoc;For dynamic docs, the declaration syntax is −DynamicJsonDocument doc_name(capacity);For example, DynamicJsonDocument ... Read More
Yash Sanghvi
5K+ Views
The ArduinoJSON library, as the name suggests, helps you work with JSON objects on Arduino. In order to install it, go to the Library Manager, and search for ArduinoJSON. Install the library by Benoit Blanchon.This is one of the very heavily documented libraries. In fact, it has its own website: ... Read More
Yash Sanghvi
4K+ Views
Arduino contains a library that helps with base64 encode and decode. You can download it from the Library Manager. Search for base64, and install the library by Densaugeo.Now, open a new sketch and run the following sample code −#include "base64.hpp" unsigned char normal_text[20] = "Hello World"; unsigned char base64_text[20]; ... Read More
Yash Sanghvi
476 Views
Arduino Uno has 1 kB of EEPROM storage. EEPROM is a type of non-volatile memory, i.e., its contents are preserved even after power-down. Therefore, it can be used to store data that you want to be unchanged across power cycles. Configurations or settings are examples of such data.In this article, ... Read More
Yash Sanghvi
978 Views
Arduino Uno has 1 kB of EEPROM storage. EEPROM is a type of non-volatile memory, i.e., its contents are preserved even after power-down. Therefore, it can be used to store data that you want to be unchanged across power cycles. Configurations or settings are examples of such data.In this article, ... Read More
Yash Sanghvi
920 Views
Arduino Uno has 1 kB of EEPROM storage. EEPROM is a type of non-volatile memory, i.e., its contents are preserved even after power-down. Therefore, it can be used to store data that you want to be unchanged across power cycles. Configurations or settings are examples of such data.In this article, ... Read More
To Continue Learning Please Login
Login with Google