Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Can any one tell me how can I know status of any pin of an ATmega16 microcontroller using Ubuntu?

When I connect ATmega16 to my system a file in /dev/ is created by name ttyUSB0. I am using an USB-to-serial converter in order to connect the ATmega16.

share|improve this question
1  
You likely will need to write code on your ATMega16 that outputs pin status over the serial port. This (but not as presently written) might be more on-topic for EE.SE. –  Renan May 1 '13 at 22:16
1  
While connecting to a device from a unix machine is on-topic here, this may require more action on the µc than we can advise you on. This question would fit better on the proposed embedded systems site. It may or may not fit on Electrical Engineering. –  Gilles May 1 '13 at 23:27

1 Answer 1

I think you will need to write a program for the ATmega which can report pin status over the serial port.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.