packageExamples

Demonstration circuits and verification scenarios (see requirements.md, section "Vérification")

Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).

Contents

NameDescription
BasicBlinkVerification scenario no. 1: the default demo script blinks GP0 (external LED) and the on-board LED at 1 Hz
GpioDigital pins: outputs, read-back, wake-up on input change, time cost of the accesses (gpioOpTime)
AdcAnalog inputs (machine.ADC)
PwmPWM outputs (machine.PWM)
IrqInterrupts and timers: machine.Pin.irq() and machine.Timer
ProgramProgram execution: sleep() compression, uncaught exception, module import
FileSystemMicroPython-style flash file system: boot.py, main.py, files written by the program
DisplayEducational display with a logical link (machine.Display)
UartSerial link: the microcontroller and external serial devices - suffix Py: device whose behaviour is described by a Python script
I2cI2C bus: the microcontroller as master and slave peripherals described by a Python script
WeighingWeighing: force, load cell body, gauge bridge, HX711 chain, read by the microcontroller
MultiMcuSeveral microcontrollers in one model: isolated programs, GPIO, UART and I2C links between boards, one file system each
RadioRadio link between microcontrollers: transparent radio modems, buffers, modulations
AnalyzerLogic analyser: decoding the lines of a circuit into a text file (and a VCD file for PulseView)
PicoRaspberry Pi Pico board (RPi_Pico): USB or battery supply, power-on, internal sensing
MicroBitExamples with the micro:bit v2 board: LED matrix, buttons, edge pins