Skip to content
Snippets Groups Projects
  1. Sep 22, 2019
    • Daniel Hoffend's avatar
      feat(ecg-app): Refactor ECG App · d7edf7e5
      Daniel Hoffend authored and rahix's avatar rahix committed
      New Button-Layout
      =================
      
                /-----------------------\
                |   xxxxxxxxxxxxxxxxx   |
                |                       |
                |                      <> * Pause screen
                |         card10        |
       +------- <>                     <> * During pause: Scroll right.
       |        |                       | * Short press: Toggle between Finger
       |        \-----------------------/    and USB.
      * During pause: Scroll left.        * Long press: Toggle bias on/off.
      * Short press: Toggle LED mode.
      * Long press: Start/stop logging.
      
      Other Changes
      =============
      - Split the bar into negativ [10:5] and positive [5:0] scale and update
        them seperate to have a better visualization.
      - Blink red with backside LEDs on detected pulse.
      - Allow toggling the LED modes on and off (see new button layout).
      - Lock mode & bias during logging.
      d7edf7e5
    • rahix's avatar
      docs(utime): Document monotonic clock API · d3935ffd
      rahix authored
      
      Signed-off-by: default avatarRahix <rahix@rahix.de>
      Verified
      d3935ffd
    • rahix's avatar
      chore: Update CHANGELOG and docs · db0ff2f6
      rahix authored
      Verified
      db0ff2f6
    • rahix's avatar
      Merge 'Refactor BHI160 App' · 50839184
      rahix authored
      See merge request card10/firmware!316
      50839184
    • rahix's avatar
      refactor(preload/bhi): Make app more pythonic · 003aa2a0
      rahix authored
      
      This patch makes the BHI160 app more pythonic and fixes a few
      bugs/issues:
      
      - An exception (including KeyboardInterrupt) will trigger the sensor to
        be closed again.  Otherwise you'd get strange behavior trying to
        reopen then afterwards.
      - Use simple_menu.button_events() instead of home-cooked solution.  This
        should hopefully make the code more future-proof.
      - Fix overlapping text caused by the font-rendering changes.
      
      Signed-off-by: default avatarRahix <rahix@rahix.de>
      Verified
      003aa2a0
    • rahix's avatar
      hack(streams): Discard overflowing samples · d974cd2f
      rahix authored
      
      As discussed in card10/firmware!316, this commit prevents I2C lockup by
      discarding overflowing samples instead of blocking until they have been
      read.  This is not ideal as the samples read will not be the most recent
      ones.  A deeper refactor of the sensor-stream internal API can fix this
      in the future.
      
      Cc: @flo_h
      Signed-off-by: default avatarRahix <rahix@rahix.de>
      d974cd2f
  2. Sep 21, 2019
  3. Sep 19, 2019
  4. Sep 16, 2019
  5. Sep 15, 2019
  6. Sep 14, 2019
Loading