re-learning Ada

learning Ada

Learning about: GNAT toolchain from the GNAT Community 18 edition,
project manager (GPRbuild)
integrated development environment (GNAT Programming Studio).

Dividing this restarted project into two parts:
1. installing the toolchain and
2. sample source code

default install directories:
~/opt/GNAT/2019/bin $ [ try ./gpr ]
checkout [sudo ./doinstall] and

gps will be installed in [/opt/gps]

~/Ada_Drivers_Library/scripts $ ./project_wizard.py

Tags:

github activity regarding people following

maqueen

Ada on the BBC micro:bit

Screenshot Linux view of BBC micro:bit

Ada on BBC micro:bit
with respect to Linux
ensure that /home/mikeh/opt/GNAT/2019/bin or similar is in the PATH environment variable.

repl online compilation

i2c pins connectors

Some rules when connecting devices (modules) like sensors: with special attention to serial busses like i2c.
This is the start of a guide to show how to build circuits with multiple types of sub assemblies.
It also documents the thought processes in connecting a Raspberry Pi to external sensors. The sensors are on a standalone board and operate

from different voltages. Work is happening to interface the BBC micro:bit, Cypress boards and Arduinos.
The i2c protocol requires the SDA and SCL lines to be bidirectional (i.e. input and output)

example of usb-c charging hub

energia msp430 demo MSPDebug


/*
Blink
The basic Energia example.
Turns on an LED on for one second, then off for one second, repeatedly.
Change the LED define to blink other LEDs.

Hardware Required:
LaunchPad with an LED

This example code is in the public domain.
*/

// date 8 Aug 2019
//comments are like instructions

// most launchpads have a red LED
#define LEDr RED_LED

//see pins_energia.h for more LED definitions
#define LEDg GREEN_LED

bike gears cassette

mbed online compiler for Cortex

Pages

Subscribe to Electroteach RSS