Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Arduino Core for SAMD21 CPU
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
josc941e
Arduino Core for SAMD21 CPU
Commits
5c3bff79
Commit
5c3bff79
authored
10 years ago
by
Jonathan BAUDIN
Browse files
Options
Downloads
Patches
Plain Diff
Adding degree sign
parent
3c25a4b7
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cores/validation/validation_I2C_multi/test.cpp
+4
-1
4 additions, 1 deletion
cores/validation/validation_I2C_multi/test.cpp
with
4 additions
and
1 deletion
cores/validation/validation_I2C_multi/test.cpp
+
4
−
1
View file @
5c3bff79
...
...
@@ -2,7 +2,6 @@
#include
<Wire.h>
#include
<LiquidCrystal_I2C.h>
LiquidCrystal_I2C
lcd
(
0x20
,
16
,
2
);
// set the LCD address to 0x20(Cooperate with 3 short circuit caps) for a 16 chars and 2 line display
const
uint8_t
addressTemp
=
0x4Ful
;
const
uint8_t
addressLCD
=
0x20ul
;
...
...
@@ -10,6 +9,8 @@ const uint8_t addressRTC = 0x68ul;
uint16_t
valueTemp
=
0
;
uint8_t
a
,
b
;
LiquidCrystal_I2C
lcd
(
addressLCD
,
16
,
2
);
// set the LCD address to 0x20(Cooperate with 3 short circuit caps) for a 16 chars and 2 line display
struct
timeRTC
{
uint8_t
hour
;
...
...
@@ -63,6 +64,8 @@ void setup()
lcd
.
init
();
lcd
.
backlight
();
lcd
.
home
();
pinMode
(
2
,
INPUT_PULLUP
);
}
void
LCDSpecialPrint
(
uint8_t
value
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment