1. 06 Dec, 2019 1 commit
  2. 19 Nov, 2019 1 commit
  3. 13 Nov, 2019 1 commit
    • Rahix's avatar
      feat(utime): Implement ticks_ms() and ticks_us() · 8926fd02
      Rahix authored
      
      
      Implement the hal functions necessary for utime.ticks_ms() and
      utime.ticks_us().  This enables much more accurate measurements of time
      taken in Pycardium (useful for profiling).
      
      Please note that the tick counter will reset whenever a new app is
      loaded.
      
      Signed-off-by: Rahix's avatarRahix <rahix@rahix.de>
      8926fd02
  4. 10 Nov, 2019 3 commits
  5. 09 Nov, 2019 2 commits
  6. 05 Oct, 2019 2 commits
    • Foaly's avatar
      docs: Improve documentation for the BHI160 · e804de47
      Foaly authored and Rahix's avatar Rahix committed
      e804de47
    • 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
         gfx_puts.
      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.
      14d5abcc
  7. 04 Oct, 2019 1 commit
  8. 25 Sep, 2019 1 commit
  9. 22 Sep, 2019 1 commit
  10. 21 Sep, 2019 2 commits
    • Ferdinand Bachmann's avatar
      feat(rtc): Add monotonic clock · f1251d66
      Ferdinand Bachmann authored and Rahix's avatar Rahix committed
      Squashed commits:
      
      e94f7bf9 epicardium/rtc: add monotonic time
      e0691c6d pycardium/modules/utime.c: add bindings for monotonic time
      756c13df epicardium/rtc: fix numerically unstable subsecond decoding
      
               the subsecond encoding function from epic_rtc_set_milliseconds
               and the corresponding decoding function from
               epic_rtc_get_milliseconds are not numerically stable.
      
               i.e., encoding 5 milliseconds to 20 subsecs and immediately
               afterwards decoding that yields 4 milliseconds.
      
               Adding a bias of 999 (0.24 milliseconds) to the decoding
               function makes it numerically stable, while never decoding any
               subsecond value to more than 999 milliseconds.
      
      e99e278b epicardium/rtc: only poll time once for calculating monotonic_offset
      18936b7e pycardium/modules/utime.c: run clang-format
      869ac617 epicardium/rtc: add explanation comment for numerically stable subsecond decode
      f1251d66
    • swym's avatar
      feat(pycardium): Add ESB API · 4e4962d1
      swym authored and Rahix's avatar Rahix committed
      4e4962d1
  11. 16 Sep, 2019 1 commit
  12. 14 Sep, 2019 1 commit
  13. 06 Sep, 2019 1 commit
  14. 05 Sep, 2019 1 commit
  15. 03 Sep, 2019 4 commits
  16. 31 Aug, 2019 4 commits
  17. 30 Aug, 2019 2 commits
  18. 29 Aug, 2019 1 commit
  19. 28 Aug, 2019 5 commits
  20. 27 Aug, 2019 2 commits
  21. 25 Aug, 2019 1 commit
  22. 24 Aug, 2019 2 commits