Now when you want to use an SD Card back to like using it on your Android Phone or camera, you just cannot use it by simply inserting it on the SD Card slot and turning on your gadget. You have to properly format the SD Card.
Note: If this method does not work for you, I will be writing another method for Windows, Mac and Linux systems in the future.
If you format separately the two drives (E: and F:), you will end up with two drives instead of one that has the full capacity of the SD Card.
I wanted to know the Schmitt Trigger Voltage Logic Levels for the Arduino Uno since I want to know on what voltage would the digital input pin detect a logic high or a logic low.
I know that the Arduino Uno uses the ATmega328 with a 5V as its voltage supply. I checked the ATmega328 specification sheet and since it was too long to read (TL;DR), I would rather check using a Signal Generator and an Oscilloscope.
I have always used Synergy when using multiple computers since I do not want to use a lot of hardware (mouse and keyboard) to control all my unit. When I first received a Raspberry Pi the first thing I did was make Synergy work.
Here is the configuration that I use when working with Raspberry Pi.
Client – Raspberry Pi (to be controlled)
Server – Laptop where the mouse and keyboard will be used (Windows/Mac)
1. Installing Synergy on Raspbian
Open the terminal and run the code below.
sudo apt-get install synergy
This will install Synergy on the Raspberry Pi along with its dependencies.
If you looked inside an Arduino Library you would see filename extensions such as .h and .cpp, which makes us conclude that the Arduino IDE uses C++ for its codes. If you look inside those files most of the Arduino Libraries have C++ classes inside of them. The question now is: Can you use C++ Classes in Arduino IDE without Creating a Library?
The answer to that is YES!
It is a bit tricky though as there are rules you need to follow. I shall dive into that later.
Below is a short Arduino Code with a C++ Class without using a Library.
// Checks whether it is time to turn on or off the LED.
// LED is currently turned On. Turn Off LED.
// LED is currently turned Off. Turn On LED.
* BLINKER CLASS VARIABLES DECLARATION
Okay, I admit that was not very short. At least you can see that I have used a C++ Class without creating a library. You can compile it in your Arduino IDE if you still do not believe me. You can see the Circuit Diagram somewhere below, there is also a Fritzing Diagram if you want to seriously test it.
After much research I saw a LSM9DS0 Breakout board in Lazada, much more expensive (₱ 1,446/pc) but has a higher accuracy than the LSM9DS1. Since I already bought the LSM9DS1 Breakout Board I just have to live with my decision.
I have always used the Arduino IDE map function but have not been able to use it for float values. With these I have made the MapFloat Library so that I could extend the map function to floating point numbers.
A very useful feature when I want to have decimal places on my map function.
Whenever I program an Arduino based project I would always use Sublime Text as my editor then compile and upload using the Arduino IDE. I prefer using Sublime Text as my Arduino Sketch editor as it gives more flexibility on color highlighting.
This post is a tutorial on how to use Sublime Text as an External Editor. It also answers the why, advantages and disadvantages of using External Editor.
In case you prefer to use Atom Text Editor than Sublime Text then you may still do so by opening your code on Atom Text Editor.
I have always preferred developing in Sublime Text especially for Arduino Projects since the syntax highlighting is better than doing it in Arduino IDE. Unfortunately, it is annoying to keep opening .ino files on Sublime Text then set the syntax highlighting to C++ (.cpp) on each file.
Luckily, there is a way to do this automatically so that whenever I open a .ino file it will always open with a C++ syntax highlighting in Sublime Text. Below are the steps on how I did it.
Note: My Sublime Text is configured to use the Color Scheme named Sixteen.
I am using a laptop which only has 32GB for its main storage. Unfortunately, this becomes full quickly if I will be installing a lot of programs and add some cloud storage to it.
Fortunately, the computer has a microSD Card slot which I can use to expand my storage, but I could not install programs or put my cloud storage directory to it since it is not recognized as a Permanent Storage by Windows.
Do not worry, though, there is actually a way to make the Windows see your SD Card as a Permanent Storage. Below are the steps that you need to do.
Note: This tutorial would also work on Windows Tablet who also has the same problems as I have.
1. Make sure that your SD Card is formatted to NTFS
To be able to mount the SD Card as a Permanent Storage it must be formatted to the same file system as your computer’s main storage file system. For Windows 10 case the main file system is NTFS.