"Arduino.h"

I have a sketch that calls for "Arduino.h" library
I have looked all over but no luck I did find it on google but no way to load it. Any suggestions?

Arduino.h is part of the core library bundled with ever Arduino hardware package. This library contains the definitions of all the standard Arduino API functions like digitalWrite(), etc. It's not something you need to install.

Why did you think you needed to "load it"?

Because in one of the tractor guys sketch's it says include "Arduino.h" among others. also the sketch won't comply so I thought that was the reason. Thanks for the info.

If you post the code and the error we may be able to help you to get it to compile.

Here is the sketch,

/*
RCTractor.h - Library for controlling RC Tractors.
Created by Oisin O’Conchubhair, September 20, 2015.
Released into the public domain.
*/

#include “Arduino.h”
#include “RCBasicController.h”

#include “RCBasicControllernRF24L01.h”
#include “RCBasicControllerRF24.h”

// Set up nRF24L01 radio on SPI bus plus pins 9 & 10
RF24 radio(9,10);

//
/
General Variables /
/
/
static uint8_t command[11];
static int Vehicle_Active = 0;
static int Lost_Packet_Count = 0;
static long Vehicle_V;

//
/
RC Farm and Construction Vehicle Functions /
/
/
RCBasicController::RCBasicController()
{
_SA = 2;
_SB = 3;
_SC = 4;
_SD = 5;
_SE = 6;
_SF = 7;
_SJ = 8;

_LED_Data = 0;
_FUNC_Data = 0;
_Num_Vehicle = 5;

pinMode(_SA, INPUT_PULLUP);
pinMode(_SB, INPUT_PULLUP);
pinMode(_SC, INPUT_PULLUP);
pinMode(_SD, INPUT_PULLUP);
pinMode(_SE, INPUT_PULLUP);
pinMode(_SF, INPUT_PULLUP);
pinMode(_SJ, INPUT_PULLUP);
}

void RCBasicController::Set_Pipe(uint64_t _pipe)
{
pipe = _pipe;
}

void RCBasicController::Setup()
{
Serial.begin(9600);

radio.begin();

// RF24_PA_MIN, RF24_PA_LOW, RF24_PA_HIGH and RF24_PA_MAX
radio.setPALevel(RF24_PA_LOW);

// RF24_250KBPS for 250kbs, RF24_1MBPS for 1Mbps, or RF24_2MBPS for 2Mbps
//radio.setDataRate(RF24_250KBPS);

// We will be using the Ack Payload feature, so please enable it
radio.enableAckPayload();

radio.openWritingPipe(pipe);
}

void RCBasicController::Check_Joys(){

// Check Joy Stick Potentiometers
_Joy_X = analogRead(A0);
_Joy_X= map(_Joy_X, 0, 1024, 0, 255);
_Joy_Y = analogRead(A1);
_Joy_Y= map(_Joy_Y, 0, 1024, 0, 255);

// Check for Changes
if(_Joy_X != _Joy_X_Old || _Joy_Y != _Joy_Y_Old){

if(_Controller_Mode == 0){
command[2]= _Joy_Y;
command[3]=_Joy_X;
}

if(_Controller_Mode == 1){
command[5]=_P1;
command[7]=_P2;
}

_Joy_X_Old = _Joy_X;
_Joy_Y_Old = _Joy_Y;

_P1_Old = _P1;
_P2_Old = _P2;
}
}

void RCBasicController::Check_Switches(){

// Check Joystick Switches
if (((digitalRead(_SB))==LOW) && ((digitalRead(_SD))==LOW))
{
if((bitRead(_LED_Data, 0))!=1 && (bitRead(_LED_Data, 1))!=1){
bitWrite(_LED_Data, 0, 1); // Turn on Hazard Lights
bitWrite(_LED_Data, 1, 1);
}
else{
bitWrite(_LED_Data, 0, 0); // Turn off Indicators
bitWrite(_LED_Data, 1, 0);
}

// Wait for switch to be released
while (((digitalRead(_SB))==LOW) && ((digitalRead(_SD))==LOW)){}
}
else if (((digitalRead(_SB))==LOW))
{

if ((bitRead(_LED_Data, 0))!=1){
bitWrite(_LED_Data, 0, 1); // Command to turn on right indicator
}
else {
bitWrite(_LED_Data, 0, 0); // Turn off Indicators
}

// Wait for switch to be released
while (((digitalRead(_SB))==LOW)){}
}
else if (((digitalRead(_SD))==LOW))
{

if ((bitRead(_LED_Data, 1))!=1){
bitWrite(_LED_Data, 1, 1); // Command to turn on right indicator
}
else {
bitWrite(_LED_Data, 1, 0); // Turn off Indicators
}

// Wait for switch to be released
while (((digitalRead(_SD))==LOW)){}
}

if ((digitalRead(_SA))==LOW)
{

if(_Controller_Mode == 0){
if ((bitRead(_LED_Data, 3))!=1){
bitWrite(_LED_Data, 3, 1); // Turn off Full Beams
bitWrite(_LED_Data, 4, 1); // Turn off Work Lights
}
else {
bitWrite(_LED_Data, 4, 0); // Turn off Work Lights
bitWrite(_LED_Data, 3, 0); // Turn off Full Beams
}
}

if(_Controller_Mode == 1){
_P1 = _Joy_Y;
}

// Wait for switch to be released
while ((digitalRead(_SA)) == LOW){}
}

if ((digitalRead(_SC))==LOW)
{

if(_Controller_Mode == 0){

if (command[5]<125){
command[5]=240;
}
else {
command[5]=10;
}

}

if(_Controller_Mode == 1){
_P2 = _Joy_X;
}

// Wait for switch to be released
while ((digitalRead(_SC)) == LOW){}
}

if ((digitalRead(_SE))==LOW)
{

if(_Controller_Mode != 1){
_Controller_Mode = 1; //Enter accessory control mode
}
else{
_Controller_Mode = 0; //Enter drive mode
}

// Wait for switch to be released
while ((digitalRead(_SE)) == LOW){}
}

if ((digitalRead(_SF))==LOW)
{

if(Vehicle_Active != _Num_Vehicle){
Vehicle_Active = Vehicle_Active + 1;
}
else{
Vehicle_Active = 0;
}

// Wait for switch to be released
while ((digitalRead(_SF)) == LOW){}

}

command[9] = _LED_Data;
command[10] = _FUNC_Data;
}

//
/
Functions used to Control RC Vehicles /
/
/

void RCBasicController::Update_Command(uint8_t (& _command) [11]){

command[0]=Vehicle_Active;
Lost_Packet_Count = 0;

Check_Switches();

Check_Joys();

for (int i = 0; i <= 11; i++) {
command = command*;*
* }*
}
void RCBasicController::Custom_Command(uint8_t (& _command) [11]){
* for (int i = 0; i <= 11; i++) {*
command = command*;*
* }*

}
void RCBasicController::Send_Command(){
* radio.write( command, sizeof(command));*
* if ( radio.isAckPayloadAvailable() )*
* {*
* radio.read(&Vehicle_V, sizeof(Vehicle_V));
Lost_Packet_Count = 0;
_ }
else {_

Lost_Packet_Count++;
_ }
}*_

Nice and italic! Please read "How to use the forum" and correct your post. Which would include to add code tags AND to actually tell us the FULL error message.

I think The RC Tractor Guy should have used:#include <Arduino.h>
instead of #include "Arduino.h"
. The conventions may have changed in the four years since that library was written.

Either syntax will work, but the angle brackets syntax is best practices for #include directives of external dependencies. The double quotes syntax causes the local folder to be searched, followed by the include search path. Since they knew full well that Arduino.h is not in the local folder, it was silly to use the double quotes syntax. I’d assume the angle brackets syntax will result in a slightly faster compilation in this case.