Grant Karber / Mbed 2 deprecated Nucleo_blink_led

Dependencies:   mbed

main.cpp

Committer:
karberga
Date:
2020-02-27
Revision:
4:6b89b4556930
Parent:
3:a713717b8f29
Child:
5:d5e5d81ae10a

File content as of revision 4:6b89b4556930:

#include "mbed.h"

DigitalOut myled(LED1);

int main() {
    while(1) {
        myled = 1; // LED is ON
        wait(0.2); // 200 ms
        myled = 0; // LED is What?
        wait(1.0); // 1 sec
        
        // Wait for button press to start test in while loop
        
        // Start a for loop for tests at different frequencies
        
        // Talk to the DCO w/ SPI
        
        // Sample the reflected signal with the ADC
        
        // Store reflected signal
        
        // Change balance impedance
        
        // Sample the reflected signal
        
        // Perform calculations on both signals
        
        // end of for loop
        
        // Display Impedance results
        
        // end of while loop
    }
}