mirror of
https://github.com/digistump/DigistumpArduino.git
synced 2025-09-17 17:32:25 -07:00
switch to setup for Arduino Boards Manager
This commit is contained in:
29
digistump-sam/libraries/RF24Network/tests/unit/Globals.cpp
Normal file
29
digistump-sam/libraries/RF24Network/tests/unit/Globals.cpp
Normal file
@@ -0,0 +1,29 @@
|
||||
/*
|
||||
Copyright (C) 2011 J. Coliz <maniacbug@ymail.com>
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
version 2 as published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
// STL headers
|
||||
// C headers
|
||||
// Framework headers
|
||||
// Library headers
|
||||
#include <RF24.h>
|
||||
#include <RF24Network.h>
|
||||
// Project headers
|
||||
// This component's header
|
||||
#include <Globals.h>
|
||||
|
||||
#include "WProgram.h"
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
HardwareSPI SPI(2);
|
||||
|
||||
// Radio on Maple Native w/ Getting Started board
|
||||
RF24 radio(7,6);
|
||||
RF24Network network(radio);
|
||||
|
||||
// vim:cin:ai:sts=2 sw=2 ft=cpp
|
Reference in New Issue
Block a user