Need Help for AVR program to run on Arduino Mega (Network Cable Tester)


hi,
i wanted add network cable tester  , length tester in existing project.
here link existing project
https://www.youtube.com/watch?v=6pcxrabmf_g

i found diy on russian forums link bellow ( english translation)
https://translate.google.com/translate?sl=auto&tl=en&js=y&prev=_t&hl=en&ie=utf-8&u=https%3a%2f%2fgeektimes.ru%2fpost%2f258092%2f&edit-text=&act=url

my problem can not understand connection mega , how change program work mega.

thanks in advance
i attached original program file

you need change of i/o registers.  those 'variables' named portx/pinx/ddrx 'x' letter: a, b, c, or d.  note: arduino uno has no porta must different processor.  each port represents set of 8 pins.  the data direction register (ddrx) sets each pin input or output.  the portx register writing output pins , pinx register reading input pins.

you want find chart shows ports connected pins.  not pins of every port go female headers arduino users think of 'pins'.

the adxxx registers control a/d converter.  the tccr1x registers timer/counter control registers timer1.


Arduino Forum > Using Arduino > Project Guidance > Need Help for AVR program to run on Arduino Mega (Network Cable Tester)


arduino

Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'