Search found 4 matches

by davidd
Mon Mar 18, 2013 6:33 pm
Forum: Ideas
Topic: Counting of Restart Reasons
Replies: 2
Views: 1713

Re: Counting of Restart Reasons

I forgot the code snippet. The EEPROM data have to be read before that. { uint8_t resStatus = MCUSR; if (resStatus & _BV (PORF)) { conf.ResCntPwrOn++; MCUSR &= ~(1<<PORF); } else if (resStatus & _BV (WDRF)) { conf.ResCntWDT++; MCUSR &= ~(1<<WDRF); } else if (resStatus & _BV (BORF...
by davidd
Sun Mar 17, 2013 8:54 pm
Forum: Ideas
Topic: Counting of Restart Reasons
Replies: 2
Views: 1713

Counting of Restart Reasons

During my tests with multiWii (with no original firmware) I experienced multiple times "stange" behaviour. After short investigation and few other tests I relised that restarts was caused by Brown Out detection circuit. I added counters to the system configuration, it have to be persistent...
by davidd
Sun Feb 17, 2013 11:20 am
Forum: Software development
Topic: MultiWiiConf_2_1, trouble with serial transfer
Replies: 0
Views: 888

MultiWiiConf_2_1, trouble with serial transfer

I probably caused a bug in MultiWii circular buffer. Until it will be fixed I'm developed following workaround in configurator to take a time to board for incoming byte processing Here is code snippet (whole function): void sendRequestMSP (List<Byte> msp) { print("sendRequestMSP (); "); fo...
by davidd
Fri Dec 07, 2012 9:07 am
Forum: Software development
Topic: Airplane mode
Replies: 512
Views: 2168466

Re: Airplane mode

Hello, let me introduce myself: * I'm fresh new in MultiWii (and in Arduino too) board. * I have KK-ControlBoard with own firmware which is controlling my 4-Aileron Delta (Flying Wing) without rudder. There is only 3-axis gyro. I selected MultiWii because it contains Accel, Gyro, Barometer and &...