g4klx / MMDVM

The firmware for the MMDVM (Multi-Mode Digital Voice Modem)
GNU General Public License v2.0
473 stars 189 forks source link

ARDUINO_DUE_PAPA section, pin missing #30

Closed ik1whn closed 8 years ago

ik1whn commented 8 years ago

File IODue.cpp, section:

if defined(ARDUINO_DUE_PAPA)

these lines are missing:

define PIN_DSTAR 9

define PIN_DMR 8

define PIN_YSF 7

define PIN_P25 6

phl0 commented 8 years ago

Pins 7 and 8 will collide with what is already defined:

#define PIN_COS                7
#define PIN_PTT                8
ik1whn commented 8 years ago

Ok but without defining the pin arduino ide exit with error exit status 1 'PIN_DSTAR' was not declared in this scope

phl0 commented 8 years ago

Yes sure. But the question is which pins to use for these. I don't have the Papa board pinout to see which ones would be free to use. Is there a schematic or pic from the papa board?

ik1whn commented 8 years ago

You can use pin 4 and 5 instead of 7 and 8 pin 3, 4, 5, 6 and 9 are free

phl0 commented 8 years ago

I made a change based on the pin numbers you mentioned. Could you please give the code from my dev branch a try: https://github.com/phl0/MMDVM/tree/fixPAPA?files=1 If that works correctly I will make a pull request to the official code.

phl0 commented 8 years ago

Btw: Could you make a photo of the PAPA board? Did a Google search yesterday but could not find anything ... Would be interested in the hardware.

ik1whn commented 8 years ago

Thanks Florian, I try it probably tomorrow, today I'm gone. The Papa board is the firts board for mmdvm, It is a prototype derived from a gmsk d-star board realized by Jim ki6zum. Here someone still uses it but rarely update the system. I send you a photo and schematic of the modification of original gmsk board.

73 Mauri ik1whn

2016-11-05 8:19 GMT+01:00 Florian (DF2ET) notifications@github.com:

Btw: Could you make a photo of the PAPA board? Did a Google search yesterday but could not find anything ... Would be interested in the hardware.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/g4klx/MMDVM/issues/30#issuecomment-258595973, or mute the thread https://github.com/notifications/unsubscribe-auth/AI63lz3jSGRLH-r9diZBtRpMnreEaLG-ks5q7C4EgaJpZM4KqCm4 .

phl0 commented 8 years ago

mni tnx :-)

ik1whn commented 8 years ago

HI Florian, the code works correctly, many thanks

Mauri ik1whn

2016-11-05 10:01 GMT+01:00 Florian (DF2ET) notifications@github.com:

mni tnx :-)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/g4klx/MMDVM/issues/30#issuecomment-258599592, or mute the thread https://github.com/notifications/unsubscribe-auth/AI63l09Olf1CzSLxp6EkHaZDp1dbY_kMks5q7EXngaJpZM4KqCm4 .

phl0 commented 8 years ago

Die you actually test the mode pins? Or did you just compile it?

ik1whn commented 8 years ago

Arduino programmed and operationally tested, tx-rx dmr mode is ok. I can not test mode pins now because the system is remotely.

2016-11-06 9:30 GMT+01:00 Florian (DF2ET) notifications@github.com:

Die you actually test the mode pins? Or did you just compile it?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/g4klx/MMDVM/issues/30#issuecomment-258667120, or mute the thread https://github.com/notifications/unsubscribe-auth/AI63l8KqHk3BkHfQOogAwYNSsvglG9Zaks5q7ZA3gaJpZM4KqCm4 .

phl0 commented 8 years ago

Okay. I guess they are rarely used anyway. So I think we can close this issue then.

On 6 November 2016 09:44:36 CET, ik1whn notifications@github.com wrote:

Arduino programmed and operationally tested, tx-rx dmr mode is ok. I can not test mode pins now because the system is remotely.

2016-11-06 9:30 GMT+01:00 Florian (DF2ET) notifications@github.com:

Die you actually test the mode pins? Or did you just compile it?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/g4klx/MMDVM/issues/30#issuecomment-258667120, or mute the thread

https://github.com/notifications/unsubscribe-auth/AI63l8KqHk3BkHfQOogAwYNSsvglG9Zaks5q7ZA3gaJpZM4KqCm4 .

You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/g4klx/MMDVM/issues/30#issuecomment-258667639

ik1whn commented 8 years ago

ok thanks