Author: Administrator

Thank You Medical Staff and Key Workers!

thank-you-medical-staff-and-key-workers

During the coronavirus pandemic, the rainbow has become a symbol of gratitude for the medical staff working in hospitals as well as all the other key workers who carried on working to provide essential services to their community. All over

Colour Luminance and Contrast Ratio

colour-luminance-values

The luminance of a colour is a measure used to describe the perceived brightness of a colour. It is possible to calculate the luminance of a colour based on its RGB colour code. So let’s consider an algorithm that collects an RGB colour

Magic Trick Algorithm

playing-cards

In this blog post we are investigating whether we can teach a computer how to perform a magic trick. Algorithm If you want a computer to perform a specific task you need to provide this computer with a clear set

Assembly Language

machine-code

Assembly language is a low-level programming language. Each assembly language is specific to a particular computer architecture. Assembly language uses mnemonics to represent low-level machine instructions or opcodes. Many operations require one or more operands in order to form a

Radians to Degrees Conversions

radians

The radian is a unit of measure for angles used mainly in trigonometry. It is used as an alternative to degrees. Whereas, in degrees a full circle is 360 degrees, in radians a full circle is 2π radians: It is

Pygame Framework

pygame-pygame

The pygame library contains several modules and classes that you will use when creating video retro arcade games. You will need to familiarise yourself with the most useful modules and classes as listed below: (Click on a module/class to access

Abstract Syntax Tree Generator

AST

In computer science, an abstract syntax tree (AST), or just syntax tree, is a tree representation of the high level source code. The compilation process consists of translating the high level source code (e.g. Java, Python, C++, FORTRAN, etc.) into

Arduino: RGB Gradient

arduino-RGB-gradient

In this challenge we will use the Arduino board to control a RGB LED to create a gradient light effect where the LED will fade from red to purple, to blue, to purple and back to red. You do not

Arduino Whack a Mole

arduino-Whack a Mole

For this challenge we will create a a game of Whack-A-Mole using an Arduino device/board, three LEDs, three push buttons and a piezo buzzer. You do not need to have access to an Arduino board. Instead you can use the

Arduino Traffic Lights

arduino-traffic-light

For this challenge we will create a traffic lights using an Arduino device/board and three LEDs. We will use C/C++ to create the code to control the Arduino board to reproduce a following traffic lights sequence: You do not need