fbpixel
Drive a brushless motor with Arduino

Drive a brushless motor with Arduino

One of the main objectives of robotics is to articulate objects. To do this, it is very common to use electric motors. In the case of flying robots, such as drones, the actuators need a high rotational speed to turn the propellers and allow flight. In this case,...
Summary of function definition in C

Summary of function definition in C

In programming, it is very common or even necessary to use functions that require special definition. This is especially true when code blocks are repeated in the same program. A set of functions and objects are usually collected in libraries. We will see in this...
Summary of strings with Arduino

Summary of strings with Arduino

When you start programming with Arduino, you will very quickly get to the use of strings. A string is used to store text. It is used, for example, to display text on an LCD screen or to send text to the serial monitor. This is often the first example: the display of...
A quick look at the switch instruction in C

A quick look at the switch instruction in C

The switch..case instruction is a conditional structure that executes different instruction blocks depending on the value of a variable. This instruction is equivalent to nested if instructions. Syntax of the switch instruction The switch instruction takes an integer...
Summary on instruction while in C

Summary on instruction while in C

The while instruction is the conditional structure that allows you to create a loop on a condition. It is found in all programming languages. It is used to execute a block of code in a loop as long as a condition is fulfilled. Syntax of the while instruction The...