Subject:
|
digital output
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Fri, 2 May 1997 00:06:10 GMT
|
Original-From:
|
Tunde Gyurics <sac78395@saclink.csus{AvoidSpam}.edu>
|
Viewed:
|
705 times
|
| |
| |
Has anyone used any external devices with the HandyBoard that require a
digital output from the microprocessor, such as pin PA6 or PA7? Currently
there is an IR transmitter on PA6, and we want to use such an output to
open/close a gripper of a robot arm. What's a quick and easy way to
modify the board and obtain a digital output?
Tunde
|
|
Message has 1 Reply: | | Re: digital output
|
| (...) You might try using PortD (the header poking out of the lower right side of the LCD) /* set DDRC */ poke(0x1009,0x3c); #define PD2 0b000...000100 /* aka MISO */ #define PD3 0b000...0001000 /* MOSI */ #define PD4 0b000...00010000 /* SCK */ (...) (27 years ago, 2-May-97, to lugnet.robotics.handyboard)
|
Message is in Reply To:
| | Problem in program
|
| Greetings everyone! I'm working on a navigation program that has a funny quirk in it. I'm hoping one of you IC pros can explain my error. As far as reading the info from the sensors (RS 40 Khz IR module) and activating the motor ports, it works (...) (27 years ago, 1-May-97, to lugnet.robotics.handyboard)
|
4 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|