Charles Young's development fork. Going forward I only want to push mature code to main repository.
Fork of GEO_COUNTER_L432KC by
Diff: main.cpp
- Revision:
- 2:ac0ed3d84d44
- Parent:
- 1:75827d765e34
- Child:
- 3:23b0185c7e7b
--- a/main.cpp Fri Feb 16 16:32:58 2018 +0000 +++ b/main.cpp Tue Aug 28 00:37:21 2018 +0000 @@ -1,12 +1,14 @@ -// GEO COUNTER V1 firmware +// GEO COUNTER V1 firmware +// This FW provides a basic operation of GEO-COUNTER +// +// Latest review: August 27, 2018 - Walter Trovo // // Feb 14, 2018: initial release aimed to test the counters, the serial port // the PWM output and the MAX7219 operation. // Feb 15, 2018: Removed MAX7219 libray (replaced with custom routine). // Added 74HC595 routine. Added beep. Added Gate_write // -// -// + // this block includes key libraries #include "mbed.h" // global Mbed library (always needed) @@ -55,8 +57,6 @@ DigitalIn UN (A7); // Unused (in V1 PCB A5 and A7 must be connected) - - // definitions of peripherals and devices QEI Wheel(D12, D11, NC, 16); // Quadrature encoder I2C i2c(D4, D5); // I2C port @@ -99,7 +99,7 @@ PC.printf(__TIME__); PC.printf("\nReady...\n"); - GPS.baud(9600); // set tyhe baud-rate of the serial port dedicated to the GPS + GPS.baud(9600); // set the baud-rate of the serial port dedicated to the GPS CS1 = 1; // presets CS of MAX7219 CS2 = 1; // preset CS of 74HC595 @@ -133,7 +133,7 @@ // main loop does nothing as all activities are interrupt driven while(1) { - // dance (or do nothing) + // dance (or drink a beer) } }