Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Lucas Cortés
Sumo Auto
Commits
42941e05
Commit
42941e05
authored
5 years ago
by
Lucas Cortés
Browse files
Options
Download
Patches
Plain Diff
Main files updated
parent
29829648
master
experimental
v2.0.0
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sumo-auto.ino
+4
-4
sumo-auto.ino
with
4 additions
and
4 deletions
+4
-4
sumo-auto.ino
+
4
−
4
View file @
42941e05
...
...
@@ -113,7 +113,7 @@ void setup(){
SWSerial
.
begin
(
9600
);
ST
.
autobaud
();
#if
SERIAL
> NONE
#if
DEBUG
> NONE
Serial
.
begin
(
115200
);
Serial
.
println
(
"Init Sumo Robot - CoR 2019"
);
#endif
...
...
@@ -135,7 +135,7 @@ void setup(){
pinMode
(
PIN_DIP_SWITCH
,
INPUT_PULLUP
);
tactic
=
digitalRead
(
PIN_DIP_SWITCH
);
#if
SERIAL
> NONE
#if
DEBUG
> NONE
Serial
.
println
(
"Wait for Button Start ..."
);
#endif
...
...
@@ -144,13 +144,13 @@ void setup(){
while
(
!
digitalRead
(
PIN_START_BUTTON
));
digitalWrite
(
PIN_LED
,
HIGH
);
#if
SERIAL
> NONE
#if
DEBUG
> NONE
Serial
.
println
(
"Wait for 5 seconds ... "
);
#endif
delay
(
5050
);
#if
SERIAL
> NONE
#if
DEBUG
> NONE
Serial
.
println
(
"Fight!!!"
);
#endif
ST
.
motor
(
1
,
255
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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
Menu
Explore
Projects
Groups
Topics
Snippets