Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-pico
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-pico
Commits
c4046602
Unverified
Commit
c4046602
authored
Feb 04, 2022
by
Earle F. Philhower, III
Committed by
GitHub
Feb 04, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow changing I2C clock speed while running (#459)
Fixes #458
parent
baf925fe
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
libraries/Keyboard
libraries/Keyboard
+1
-1
libraries/Mouse
libraries/Mouse
+1
-1
libraries/Wire/src/Wire.cpp
libraries/Wire/src/Wire.cpp
+3
-0
No files found.
Keyboard
@
a6498d62
Subproject commit
e63a5f78e4901d5bd43ed7a5cb1e3d6eec915271
Subproject commit
a6498d6228347ff8337a91b9c1ce934350214dd6
Mouse
@
be7395a5
Subproject commit
a6f08ea8b7eac39886812d7b552895a10ef18208
Subproject commit
be7395a597c748eda75ea40821637a63e596f09d
libraries/Wire/src/Wire.cpp
View file @
c4046602
...
...
@@ -83,6 +83,9 @@ bool TwoWire::setSCL(pin_size_t pin) {
void
TwoWire
::
setClock
(
uint32_t
hz
)
{
_clkHz
=
hz
;
if
(
_running
)
{
i2c_set_baudrate
(
_i2c
,
hz
);
}
}
// Master mode
...
...
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