Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
firmware
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
76
Issues
76
List
Boards
Labels
Service Desk
Milestones
Merge Requests
31
Merge Requests
31
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
External Wiki
External Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
card10
firmware
Commits
9d8ad3b3
Verified
Commit
9d8ad3b3
authored
Oct 19, 2019
by
Rahix
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: Update CHANGELOG and documentation
Signed-off-by:
Rahix
<
rahix@rahix.de
>
parent
23250a8e
Pipeline
#4168
passed with stages
in 2 minutes and 2 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
60 additions
and
2 deletions
+60
-2
CHANGELOG.md
CHANGELOG.md
+27
-0
Documentation/pycardium/bhi160.rst
Documentation/pycardium/bhi160.rst
+8
-2
Documentation/pycardium/utime.rst
Documentation/pycardium/utime.rst
+25
-0
No files found.
CHANGELOG.md
View file @
9d8ad3b3
...
...
@@ -4,6 +4,33 @@ All notable changes to this project will be documented in this file.
The format is based on
[
Keep a Changelog
](
https://keepachangelog.com/en/1.0.0/
)
.
## [Unreleased]
### Added
-
**USB Storage mode**
! You can now select 'USB Storage' in the menu and
access card10's filesystem via USB. No more rebooting into bootloader!
-
LED feedback on boot. If your display is broken, you can still see it doing
something now.
-
`./tools/pycard10.py --set-time`
to set card10's system time from your host.
-
4 new functions in
`utime`
modules:
*
`set_time_ms()`
*
`set_unix_time_ms()`
*
`unix_time()`
*
`unix_time_ms()`
### Changed
-
Updated BLE stack
-
Refactored gfx API for drawing images (internal).
-
Draw partially clipped primitives in all cases (Fixes menu scrolling
animation).
-
Fatal errors are now handled in a central 'panic' module.
### Fixed
-
Make BLE interrupts higher priority than anything else to hopefully increase
stability.
-
Turn off BLE encryption after closing a connection.
-
Fixed mainline bootloader being broken.
-
Fixed menu entries being ordered by path instead of name.
-
Fixed menu crashing without a message.
-
Fixed QSTR build-system.
## [v1.11] - 2019-09-24 - [Karotte]
...
...
Documentation/pycardium/bhi160.rst
View file @
9d8ad3b3
...
...
@@ -34,20 +34,26 @@ clockwise around their respective axis.
utime.sleep(0.25)
.. autoclass:: bhi160.BHI160
Orientation
-----------
.. autoclass:: bhi160.BHI160Orientation
:members:
:inherited-members:
Accelerometer
-------------
.. autoclass:: bhi160.BHI160Accelerometer
:members:
:inherited-members:
Gyroscope
---------
.. autoclass:: bhi160.BHI160Gyroscope
:members:
:inherited-members:
Magnetometer
------------
.. autoclass:: bhi160.BHI160Magnetometer
:members:
:inherited-members:
Documentation/pycardium/utime.rst
View file @
9d8ad3b3
...
...
@@ -45,6 +45,18 @@ alarm.
.. versionadded:: 1.11
.. py:function:: unix_time()
Return the current unix time as seconds since the epoch.
.. versionadded:: 1.12
.. py:function:: unix_time_ms()
Return the current unix time as milliseconds since the epoch.
.. versionadded:: 1.12
.. py:function:: set_time(secs)
Sets the time to ``secs`` seconds since 2000-01-01 00:00 in the local
...
...
@@ -54,6 +66,13 @@ alarm.
:py:func:`utime.set_time` previously applied a wrong timezone offset,
thus leading to wrong results.
.. py:function:: set_time_ms(msecs)
Set the time to ``msecs`` seconds since 2000-01-01 00:00 in the local
timezone.
.. versionadded:: 1.12
.. py:function:: set_unix_time(secs)
Sets the time to ``secs`` seconds since 1970-01-01 00:00 UTC.
...
...
@@ -61,6 +80,12 @@ alarm.
by running ``date +%s`` in a command line or ``int(time.time())``
in Python.
.. py:function:: set_unix_time_ms(msecs)
Set the time to ``msecs`` milliseconds since the unix epoch.
.. versionadded:: 1.12
.. py:function:: localtime([secs])
Return the current time as a timestruct tuple. If ``secs`` is given, return
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment