Charles Tritt

Public Repositories (103)

  • Mbed 2 deprecated
    PatientCounterMain

    Count patients as the enter a waiting room.

    patient counter, pooling loops
    Last updated: 17 Oct 2017 2 0
  • Mbed 2 deprecated
    ArrayLimits

    Demonstrate what can happen when array limits are exceeded.

    array, limits
    Last updated: 12 Oct 2017 3 2
  • Mbed 2 deprecated
    TrafficEx

    Simulate a traffic signal using a timeouts to change lights. Sends output to standard serial USB. Indicate violations using a polling loop in main (where it is safe to use …

    Photocell, printf, Serial, Timeout
    Last updated: 11 Oct 2017 6 0
  • Mbed 2 deprecated
    PullTest

    Set DigitalIn pins with various pull resistors. Used to experimentally determine effective internal resistor values.

    DigitalIn, pull-down., pull-up
    Last updated: 11 Oct 2017 4 0
  • Mbed 2 deprecated
    TimeoutEx

    Configuration mode timeout example. Pressing button sets "configuration" mode and flashes alternate LED color for 5 seconds. Also uses an interrupt to respond to button.

    interrupt, Timeout
    Last updated: 09 Oct 2017 4 3
  • Mbed 2 deprecated
    TW_Ex_9_1

    InterruptIn demonstration based on T &W's Example 9.1

    flashing, interrupt, InteruptIn, LEDS
    Last updated: 09 Oct 2017 2 0
  • Mbed 2 deprecated
    TW_Ex_9_9

    My version of T & W's Example 9.9. Uses a ticker timer to flash LED.

    flash, led, Ticker
    Last updated: 09 Oct 2017 2 1
  • Mbed 2 deprecated
    mySmrtNL_2

    Simple smart nightlight. Changes from all off to blue, green and then red as light level falls.

    AnalogIn, digitalOut, nightlight, smart
    Last updated: 08 Oct 2017 7 27
  • Mbed 2 deprecated
    FuncSumEx

    Demonstration of functions and serial I/O (including scanf).

    functions, printf, scanf
    Last updated: 06 Oct 2017 1 7
  • Mbed 2 deprecated
    GlobalExample

    Demonstrates variable scope.

    ANSI, file, global, scope, VT100
    Last updated: 05 Oct 2017 3 0