Electronics - MSP430 - Using timer and interruption to generate a delay of 1 second

The first two features to understand in a microcontroller are timers and interruptions.

Indeed, without a timer nor interruptions, it's quite impossible to have an accurate timing in a program.

C++ - OpenGL - Using the OR and LEFT SHIFT operators to retrieve the display mode with strings

The following tutorial will show you how to exploit data taken from a binary variable.

In order to explain it, we are going to use the GLUT OpenGL library.

The display mode uses indeed this kind of mecanism with the OR operator, symbolized with the famous pipe: "|".

C++ - OpenGL - Checking the FreeGLUT, GLEW and OpenGL version

First thing to deal with OpenGL is to know which version you have on your operating system.

For this tutorial we will test it on Windows.

And because we are testing the OpenGL version, we will also check what is the FreeGLUT and GLEW version.

C++ - OpenGL - Adding an icon to the executable with Visual Studio

To have an executable file that seems professional, it's necessary to have your own icon when someone launches your program.

This tutorial could easily adapted to any application generated from Visual Studio on Windows.

This icon is generally the logo of the software, game or application you created.

C++ - OpenGL - Setting up Visual Studio

The Visual Studio version for this tutorial will be the 2015 RC.
The glew version will be the 1.12.0.
The freeglut version will be the 3.0.0.

Android - Android Studio - Generating an unsigned release .apk

If you come from the Eclipse world, you should be lost because it's not very clear how to generate a release build version of an .apk file.

In this Android Studio tutorial, we are thus going to see how to resolve this release build generation.

C++ - Algorithm - Using min(), max(), minmax() functions

To be precise, in this tutorial, we are going to see the min(), max(), minmax(), min_element(), max_element() and minmax_element() functions.

Electronics - STM32 - Setting up the Nucleo board with IAR

The Nucleo wants to be a concurrent of Arduino. You had probably tested the mbed.org compiler. But you would like to program a firmware without any online IDE (that comes with some advantages and drawbacks).

Electronics - Verilog - Turning off 7-segment displays

A quick code to turn off every single segment onto a FPGA board.

For this tutorial we use the Altera DE1 board.

So if you have another one, just replace HEX0, HEX1, HEX2, HEX3 by your assignment.

Electronics - Verilog - Blinking a LED with GPIOs

As you certainly liked this Altera DE1 tutorial for blinking a LED on the board, you will love this one by doing the same easy thing but with GPIOs.

I'm sure you are really excited about that. So let's go.


Subscribe to BadproG.com RSS