Go Down

Topic: Easy Transfer and Due (Read 1 time) previous topic - next topic

EVP

Jan 24, 2013, 01:28 pm Last Edit: Mar 01, 2014, 10:40 pm by EVP Reason: 1
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: [Select]
//#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.

EVP

So the begining looks like this
Code: [Select]
#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>

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy