Arduino – Blinking LED
LEDs are small, powerful lights that are used in many different applications. To start, we will work on blinking an LED, the Hello World of microcontrollers. It is as simple…
LEDs are small, powerful lights that are used in many different applications. To start, we will work on blinking an LED, the Hello World of microcontrollers. It is as simple…
A Serial Peripheral Interface (SPI) bus is a system for serial communication, which uses up to four conductors, commonly three. One conductor is used for data receiving, one for data…
Inter-integrated circuit (I2C) is a system for serial data exchange between the microcontrollers and specialized integrated circuits of a new generation. It is used when the distance between them is…
Hundreds of communication protocols have been defined to achieve this data exchange. Each protocol can be categorized into one of the two categories: parallel or serial. Parallel Communication Parallel connection…
In this guide, we will discuss Clojure alias. Add an alias in the current namespace to another namespace. Arguments are two symbols: the alias to be used and the symbolic…
Interrupts stop the current work of Arduino such that some other work can be done. Suppose you are sitting at home, chatting with someone. Suddenly the telephone rings. You stop…
In this guide, we will discuss Clojure ns. This is used to create a new namespace and associate it with the running program. Syntax Following is the syntax. (ns namespace-name)…
To generate random numbers, you can use Arduino random number functions. We have two functions − randomSeed(seed)random() randomSeed (seed) The function randomSeed(seed) resets Arduino’s pseudorandom number generator. Although the distribution…
In this guide, we will discuss Clojure *ns*. This is used to look at your current namespace. Syntax Following is the syntax. (*ns*) Parameters − None. Return Value − Returns the namespace…
Pulse Width Modulation or PWM is a common technique used to vary the width of the pulses in a pulse-train. PWM has many applications such as controlling servos and speed…