Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
thk_ir_receiver
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
thk_libs
microcontrollers
thk_ir_receiver
Commits
d4375fe2
Commit
d4375fe2
authored
3 years ago
by
Severin Landwein
Browse files
Options
Downloads
Patches
Plain Diff
start reworking
parent
b1a4ec9a
Branches
master
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
examples/IRReceiver/IRReceiver.ino
+2
-2
2 additions, 2 deletions
examples/IRReceiver/IRReceiver.ino
ir_receiver.cpp
+2
-2
2 additions, 2 deletions
ir_receiver.cpp
ir_receiver.h
+4
-4
4 additions, 4 deletions
ir_receiver.h
with
8 additions
and
8 deletions
examples/IRReceiver/IRReceiver.ino
+
2
−
2
View file @
d4375fe2
#include
"
bits_
ir_receiver.h"
#include
"ir_receiver.h"
#define IR_PIN 46
Bits
IrReceiver
ir_sensor
(
IR_PIN
);
IrReceiver
ir_sensor
(
IR_PIN
);
int
command
;
void
setup
(){
...
...
This diff is collapsed.
Click to expand it.
bits_
ir_receiver.cpp
→
ir_receiver.cpp
+
2
−
2
View file @
d4375fe2
#include
"bits_ir_receiver.h"
BitsIrReceiver
::
BitsIrReceiver
(
int
pin
)
{
IRrecv
ir_receiver
(
aP
in
);
BitsIrReceiver
::
BitsIrReceiver
(
u
int
8_t
data_
pin
)
{
IRrecv
ir_receiver
(
data_p
in
);
}
void
BitsIrReceiver
::
begin
()
{
...
...
This diff is collapsed.
Click to expand it.
bits_
ir_receiver.h
→
ir_receiver.h
+
4
−
4
View file @
d4375fe2
#ifndef
BITS_
IR_RECEIVER_H
#define
BITS_
IR_RECEIVER_H
#ifndef IR_RECEIVER_H
#define IR_RECEIVER_H
/* ****************************************** *
* IR Remote *
...
...
@@ -31,10 +31,10 @@
#define IR_USE_AVR_TIMER3
#include
<IRremote.h>
class
Bits
IrReceiver
class
IrReceiver
{
public:
Bits
IrReceiver
(
uint8_t
pin
);
IrReceiver
(
uint8_t
data_
pin
);
void
begin
();
uint8_t
receive_command
();
...
...
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