Electronics - STM32 - GPIO overview with the STM32F3-Discovery board

GPIO is one of the most easy peripheral to understand in a microcontroller.

But of course it demands a bit of practice to handle it with ease.

That's the purpose of this STM32F303-Discovery board tutorial.

We are going to blink 4 LEDS in order to get how the basics work.

Electronics - STM32 - Using the push button to switch on the LED6 on the STM32F3-Discovery board

This tutorial may be seen as a HelloWorld project.

Indeed we are going to switch on the LED6 of the STM32F3-Discovery board with the push button.

The code has been reduced to its minimum in order to get the most important elements in this example.

Electronics - Atollic - Code completion and content assist

As Atollic is based on the Eclipse IDE, this tutorial is so also available for Eclipse.

We are going to see how to add the completion to the Atollic TrueStudio IDE.

Of course, this turorial admits that you have a project where the code completion is missing because you don't have the correct libraries.

C# - Visual Studio - Adding a custom ICO file to an application

It's always a good thing to personalise applications we make, especially when there is a graphical user interface.

The idea here is to change the default icon of your C# application with Visual Studio.

We also use the Gimp software to create the .ico file.

So let's get started.

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 mechanism 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 2017 (seems to work with the 2015 and 2019 as well).
The glew version will be the 2.2.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.


Subscribe to BadproG.com RSS