1. 05 Oct, 2019 1 commit
    • Philip Stewart's avatar
      fix(gfx/display): Draw partially clipped primitives · 14d5abcc
      Philip Stewart authored and Rahix's avatar Rahix committed
      Fix two bugs in the display/gfx module:
      1. The animation of the simple_menu used in the main menu had the issue
         that there is a black line visible at the top.  This is due the
         gfx_puts method ignoring lines, where the top pixel of the string is
         above the top of the screen.  As gfx_puts uses gfx_setpixel which in
         turn ignores pixels outside of the screen, remove the check in
      2. X and Y coordinates were cast to unsigned-ints before being given to
         the gfx-library which means calls like circ(0, -10, 30) would be draw
         at coordinates like [0,65526].  Fix this by changing the data-type of
         all coordinates to signed-integers.
      Also remove the x and y ranges from the documentation of the individual
      python functions and instead add a general documentation about the
      screen and it's size/coordinate system.
  2. 04 Oct, 2019 10 commits
  3. 03 Oct, 2019 4 commits
  4. 01 Oct, 2019 8 commits
  5. 25 Sep, 2019 1 commit
  6. 24 Sep, 2019 4 commits
  7. 22 Sep, 2019 7 commits
    • Rahix's avatar
      Merge 'ECG App update' · ee45bbd8
      Rahix authored
      See merge request card10/firmware!296
    • 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.
    • Rahix's avatar
      docs(utime): Document monotonic clock API · d3935ffd
      Rahix authored
      Signed-off-by: Rahix's avatarRahix <rahix@rahix.de>
    • Rahix's avatar
      chore: Update CHANGELOG and docs · db0ff2f6
      Rahix authored
    • Rahix's avatar
      Merge 'Refactor BHI160 App' · 50839184
      Rahix authored
      See merge request card10/firmware!316
    • 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
      - 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: Rahix's avatarRahix <rahix@rahix.de>
    • 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: Rahix's avatarRahix <rahix@rahix.de>
  8. 21 Sep, 2019 5 commits