Building my own flight controler ( based on multiwiimega )

Post Reply
WalkOver
Posts: 6
Joined: Mon Apr 29, 2013 8:03 pm

Building my own flight controler ( based on multiwiimega )

Post by WalkOver »

Hello,

I would like to build my own flight controler for the fun.
I found one flight controler who seems to be a good start point : http://www.diymulticopter.org/

I just want to add on it all the sensor I want with telemetry without the io pin I don't use.

The problem is that I don't understand how the pin assignment works in the def.h file
I have already found some pin regarding the multiwiimega board's pictures but I prefer to be sure and to found the other pin I am not able to see.

For exemple, I don't know if the interupt pin of the MPU6050 are needed. Same question for the HMC5883.
I don't know where the LED status are connected to the MCU etc etc and I don't understand for exemple this code

#define STABLEPIN_PINMODE pinMode (31, OUTPUT);
#define STABLEPIN_ON PORTC |= 1<<6;
#define STABLEPIN_OFF PORTC &= ~(1<<6);

Is this possible to have some help ?

Thank you for your time :)

Post Reply