Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
scripts-perso
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Daniel Stan
scripts-perso
Commits
3f311d97
Commit
3f311d97
authored
Jan 09, 2017
by
Daniel STAN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kugel receiver sur diavolino
parent
ef5bbd5b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
7 deletions
+2
-7
arduino/ds/schema.fzz
arduino/ds/schema.fzz
+0
-0
arduino/kugel/kugel.ino
arduino/kugel/kugel.ino
+2
-7
No files found.
arduino/ds/schema.fzz
View file @
3f311d97
No preview for this file type
arduino/kugel/kugel.ino
View file @
3f311d97
...
...
@@ -2,10 +2,10 @@
avec programme python coté port série*/
// Pin du recepteur Infrarouge
#define RECV_PIN
11
#define RECV_PIN
2
// Pin du rf
#define RF_PIN
10
#define RF_PIN
3
#include <IRLib.h>
#include <RCSwitch.h>
...
...
@@ -99,11 +99,6 @@ void loop() {
todo_on
=
true
;
else
if
(
incomingByte
==
'f'
)
todo_on
=
false
;
else
if
(
incomingByte
==
'r'
)
{
val
=
analogRead
(
3
);
Serial
.
print
(
"Current value: "
);
Serial
.
println
(
val
);
}
else
if
(
incomingByte
>=
'1'
&&
incomingByte
<=
'4'
)
todo_port
=
incomingByte
-
'0'
;
else
{
...
...
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