Bit by Bit operations (Bitwise)

Today I bring you a tutorial about how to use the bit by bit operations, lso called bitwise. This kind of operations are very useful programming, because it will allow us to do some operations like for example: Save memory packing multiple booleans inside every byte Work with microcontroller registers (wich I’ll talk later on … Read more

Compile modules in OpenResty (basic)

Hello, this time I’ll guide you through the process of how to compile modules in OpenResty. If you don’t know what is OpenResty, I’ll say you that is a tuned Nginx with a lot of pre-compiled modules. This will help you to configure your server without much hard work. The problem comes when some modules … Read more

Button debounce with Arduino, ESP8266 o STM32

If you’ve ever used buttons with the Arduino, you may have noticed that the keystrokes were sometimes doubled, and that’s where the button debounce comes in. This is because a button works by joining two mechanical elements (contacts), to close the flow of current, which can cause false contacts. Arduino being very fast, it detects … Read more

STM32F103 Bootloader and programming

This time I bring you a guide about STM32F103 (Bootloader and programming). This microcontroller has the advantage of having more capacity on almost everything compared with an Arduino (ATMega328p), having more SRAM, program memory, ADC and DAC resolution… for a little more money. More info into the Datasheet. Furthermore also we can take a look … Read more