Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RF24
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
RF24
Commits
d92ac14f
Commit
d92ac14f
authored
Nov 02, 2011
by
maniacbug
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compatibility with Arduino 1.0
parent
f5c0ba25
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
5 additions
and
16 deletions
+5
-16
RF24.cpp
RF24.cpp
+5
-0
examples/led_remote/printf.h
examples/led_remote/printf.h
+0
-2
examples/pingpair/printf.h
examples/pingpair/printf.h
+0
-2
examples/pingpair_dyn/printf.h
examples/pingpair_dyn/printf.h
+0
-2
examples/pingpair_irq/printf.h
examples/pingpair_irq/printf.h
+0
-2
examples/pingpair_pl/printf.h
examples/pingpair_pl/printf.h
+0
-2
examples/pingpair_sleepy/printf.h
examples/pingpair_sleepy/printf.h
+0
-2
examples/scanner/printf.h
examples/scanner/printf.h
+0
-2
examples/starping/printf.h
examples/starping/printf.h
+0
-2
No files found.
RF24.cpp
View file @
d92ac14f
...
@@ -6,7 +6,12 @@
...
@@ -6,7 +6,12 @@
version 2 as published by the Free Software Foundation.
version 2 as published by the Free Software Foundation.
*/
*/
#if ARDUINO < 100
#include <WProgram.h>
#include <WProgram.h>
#else
#include <Arduino.h>
#endif
#include <SPI.h>
#include <SPI.h>
#include "nRF24L01.h"
#include "nRF24L01.h"
#include "RF24.h"
#include "RF24.h"
...
...
examples/led_remote/printf.h
View file @
d92ac14f
...
@@ -16,8 +16,6 @@
...
@@ -16,8 +16,6 @@
#ifndef __PRINTF_H__
#ifndef __PRINTF_H__
#define __PRINTF_H__
#define __PRINTF_H__
#include "WProgram.h"
int
serial_putc
(
char
c
,
FILE
*
)
int
serial_putc
(
char
c
,
FILE
*
)
{
{
Serial
.
write
(
c
);
Serial
.
write
(
c
);
...
...
examples/pingpair/printf.h
View file @
d92ac14f
...
@@ -16,8 +16,6 @@
...
@@ -16,8 +16,6 @@
#ifndef __PRINTF_H__
#ifndef __PRINTF_H__
#define __PRINTF_H__
#define __PRINTF_H__
#include "WProgram.h"
int
serial_putc
(
char
c
,
FILE
*
)
int
serial_putc
(
char
c
,
FILE
*
)
{
{
Serial
.
write
(
c
);
Serial
.
write
(
c
);
...
...
examples/pingpair_dyn/printf.h
View file @
d92ac14f
...
@@ -16,8 +16,6 @@
...
@@ -16,8 +16,6 @@
#ifndef __PRINTF_H__
#ifndef __PRINTF_H__
#define __PRINTF_H__
#define __PRINTF_H__
#include "WProgram.h"
int
serial_putc
(
char
c
,
FILE
*
)
int
serial_putc
(
char
c
,
FILE
*
)
{
{
Serial
.
write
(
c
);
Serial
.
write
(
c
);
...
...
examples/pingpair_irq/printf.h
View file @
d92ac14f
...
@@ -16,8 +16,6 @@
...
@@ -16,8 +16,6 @@
#ifndef __PRINTF_H__
#ifndef __PRINTF_H__
#define __PRINTF_H__
#define __PRINTF_H__
#include "WProgram.h"
int
serial_putc
(
char
c
,
FILE
*
)
int
serial_putc
(
char
c
,
FILE
*
)
{
{
Serial
.
write
(
c
);
Serial
.
write
(
c
);
...
...
examples/pingpair_pl/printf.h
View file @
d92ac14f
...
@@ -16,8 +16,6 @@
...
@@ -16,8 +16,6 @@
#ifndef __PRINTF_H__
#ifndef __PRINTF_H__
#define __PRINTF_H__
#define __PRINTF_H__
#include "WProgram.h"
int
serial_putc
(
char
c
,
FILE
*
)
int
serial_putc
(
char
c
,
FILE
*
)
{
{
Serial
.
write
(
c
);
Serial
.
write
(
c
);
...
...
examples/pingpair_sleepy/printf.h
View file @
d92ac14f
...
@@ -16,8 +16,6 @@
...
@@ -16,8 +16,6 @@
#ifndef __PRINTF_H__
#ifndef __PRINTF_H__
#define __PRINTF_H__
#define __PRINTF_H__
#include "WProgram.h"
int
serial_putc
(
char
c
,
FILE
*
)
int
serial_putc
(
char
c
,
FILE
*
)
{
{
Serial
.
write
(
c
);
Serial
.
write
(
c
);
...
...
examples/scanner/printf.h
View file @
d92ac14f
...
@@ -16,8 +16,6 @@
...
@@ -16,8 +16,6 @@
#ifndef __PRINTF_H__
#ifndef __PRINTF_H__
#define __PRINTF_H__
#define __PRINTF_H__
#include "WProgram.h"
int
serial_putc
(
char
c
,
FILE
*
)
int
serial_putc
(
char
c
,
FILE
*
)
{
{
Serial
.
write
(
c
);
Serial
.
write
(
c
);
...
...
examples/starping/printf.h
View file @
d92ac14f
...
@@ -16,8 +16,6 @@
...
@@ -16,8 +16,6 @@
#ifndef __PRINTF_H__
#ifndef __PRINTF_H__
#define __PRINTF_H__
#define __PRINTF_H__
#include "WProgram.h"
int
serial_putc
(
char
c
,
FILE
*
)
int
serial_putc
(
char
c
,
FILE
*
)
{
{
Serial
.
write
(
c
);
Serial
.
write
(
c
);
...
...
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