Pages: [1]   Go Down
Author Topic: Easy Transfer and Due  (Read 995 times)
0 Members and 1 Guest are viewing this topic.
Yorkshire England
Offline Offline
Sr. Member
****
Karma: 2
Posts: 267
Arduino good init
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Have been moving a project from the Mega to the Due. It uses Easy Transfer. It didn't compile. Happily i solved the problem.

(It might be the case that it's not working fully i don't know, it works for what i use it for)

Find these in EasyTransfer.h
Code:
//#include <math.h>
#include <stdio.h>
#include <stdint.h>
#include <avr/io.h>

comment them out and it seems to work i don't think it needs them.
« Last Edit: March 01, 2014, 04:40:45 pm by EVP » Logged

Yorkshire England
Offline Offline
Sr. Member
****
Karma: 2
Posts: 267
Arduino good init
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

So the begining looks like this
Code:
#ifndef EasyTransfer_h
#define EasyTransfer_h


//make it a little prettier on the front end.
#define details(name) (byte*)&name,sizeof(name)

//Not neccessary, but just in case.
#if ARDUINO > 22
#include "Arduino.h"
#else
#include "WProgram.h"
#endif
#include "HardwareSerial.h"
//#include <NewSoftSerial.h>
//#include <math.h>
//#include <stdio.h>
//#include <stdint.h>
//#include <avr/io.h>
Logged

Pages: [1]   Go Up
Jump to: