Arduino Uno vs Arduino Due

Yash Sanghvi
Published on 31-Jul-2021 13:17:38
We will have a comparison of the specifications of Arduino Uno and the Arduino Due BoardArduino UnoArduino DueUnoDueGeneralDimensions2.7¨ x 2.1¨4¨ x 2.1¨Pricing$20-23$40-42ConnectivityI/O Pins1454PWM Pins612Analog Pins612Analog Out Pins (DAC)-2ComputingProcessorATMega328PAT91SAM3X8EFlash Memory32 kB512 kBSRAM2 kB96 kB (split in two banks of 64 kB and 32 kB)EEPROM1 kB-Clock speed16 MHz84 MHzVoltage Level5V3.3VUSB ConnectivityStandard A/B ... Read More

Where can I set environment variables that crontab will use?

Mukul Latiyan
Published on 31-Jul-2021 12:27:56
In normal cases we make use of the bash_profile or bashrc in case of Ubuntu and zshrc in case of Mac OS, to set our environment variables and then those variables are made available to us everywhere on the terminal we want.Let’s consider a simple example where we have some ... Read More

What's the difference between nohup and ampersand (&) on Linux?

Mukul Latiyan
Published on 31-Jul-2021 12:25:05
Linux provides us with different utility commands that we can make use of to print a random line from any files in the Unix command line. Mostly we make use of either the shuf command or the sort command, and in this article I’ll explain both the commands and which ... Read More

What Linux utility for sorting processes by network usage?

Mukul Latiyan
Published on 31-Jul-2021 12:24:46
Linux provides the famous top command utility that provides us with all the information about the processes, their time, their respective IDs, how much CPU chunk they are consuming and much more. The only issue with that is the processes are not sorted in any order and the order changes ... Read More

What languages have been used to write Windows, Mac OS and Linux OS?

Mukul Latiyan
Published on 31-Jul-2021 12:23:49
We know that an operating system is considered as the backbone of any system that you may use. The three most common and widely used operating systems share things in common just as well they share the differences. While there are cases where one might outperform another, those cases and ... Read More

What is the sed in-place flag that works both on Mac and Linux?

Mukul Latiyan
Published on 31-Jul-2021 12:23:15
We know that the SED command in Linux stands for stream editor and is mainly used to perform functions on files, and the functions usually are either searching for a word, or replacing it or insertion of something and few more. It is a very useful command and can be ... Read More

What is the Linux Equivalent to DOS Pause?

Mukul Latiyan
Published on 31-Jul-2021 12:22:52
We know that the Pause command in DOS is used to suspend execution of the batch files and it then displays the messageStrike a key when ready ...It should also be noted that some versions of DOS also allow a comment to be entered on the same line as PAUSE.ExampleWe ... Read More

What is fopen() and open() in Linux?

Mukul Latiyan
Published on 31-Jul-2021 12:22:05
The key difference between the fopen() and the open() function in the Linux operating system is that the open() function is a low-level call, where the fopen() when called simply calls the open() function in the background and it returns a Filepointer directly.The call to the open() function includes invoking ... Read More

What does opening a file actually do on Linux?

Mukul Latiyan
Published on 31-Jul-2021 12:20:26
When we are talking about opening a file, then we have different cases such as in what language and what API are we actually calling when opening a file. While in most of the cases it is quite simple, the higher level languages will eventually call either the C API ... Read More

Understanding stdin, stderr and stdout in Linux

Mukul Latiyan
Published on 31-Jul-2021 12:18:34
There is a decent chance that if you have used Linux operating systems then you might have encountered the three famous data streams known as stdin, stderr and stdout. All these are different in their functions and have their own uses but one thing common between all three of them ... Read More
Advertisements