A collection of examples organized from basics to advanced.
Dependencies: mbed SDFileSystem
Mbed online compiler has no facility to easily manage a lot of programs or organized them in to related folders. This makes creating an examples and sample pack difficult.
This repository contains a single main.cpp file (which does very little), and a BuildOptions.h file. Simply uncomment the example you would like to compile from the build options. Each example is wrapped in a compiler directive.
If the directive does not include a description comment, it likely does not exist yet. If you would like to contribute to the Examples project, please contact me or fork and issue a pull request.
buildOptions.h
- Committer:
- epremeaux
- Date:
- 2019-07-04
- Revision:
- 0:b471f7764d46
- Child:
- 1:9a043ee174de
File content as of revision 0:b471f7764d46:
// uncomment only ONE file to build in the example set /* 01_Basics: AnalogReadSerial Blink DigitalReadSerial Fade ReadAnalogVoltage */ //#define COMPILE_Analog_In #define COMPILE_Button_Interrupt /* 02_Digital BlinkWithoutDelay Button Debounce DigitalInputPullup StateChangeDetection ToneKeyboard ToneMelody ToneMultiple TonePitchFollower 03_Analog AnalogInOutSerial AnalogInput AnalogWrite Calibration Fading Smoothing 04_Communication AScii table Dimmer Graph Midi Multiserial physicalPixel ReadAScii string serial call response serial call response ascii serial event serial pass through virtual color mixer 05_Control arrays for loop itteration if statement conditional switch case switch case 2 while statement conditional 06_sensors ADXL3xx Knock Memsic2125 Ping GPS 07_Display bar graph row column scanning 08_strings character analysis string addition operator string append string case change string characters strinc comparison string constructor string index of string length length trim string replace string starts ends with substring string to int 09_USB Keyboard key and mouse mouse */