Go Down

Topic: which arduino to buy (Read 754 times) previous topic - next topic

pranoy

Ok

So how do i use the analog pins as digital outputs?

retrolefty


Ok

So how do i use the analog pins as digital outputs?


With the same commands you use with any of the other digital pins, using digitalWrite() (after setting to output mode using the pinMode() command), just using pin numbers 14 to 20 that correspond to analog inputs pins 0-5.

Lefty

CrossRoads

A0-A5 which are also usable as D14-D19.
Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

bperrybap

I like some of the 3rd party "duino" boards.
For example:
http://imall.iteadstudio.com/im120905006.html
There is also an iteaduino which is a bit less that uses the FTDI chip vs the atmel processor
for USB to serial conversion.
http://imall.iteadstudio.com/development-platform/arduino/arduino-compatible-mainboard/im120411008.html
http://store.iteadstudio.com/index.php?main_page=product_info&cPath=50_51&products_id=467


Will work just the same as an UNO, but there are some nice extra features
like the 3 pin headers that allow hooking up things like 3 pin sensors or servos
directly to the board
as well as an option to run 3v.

--- bill

Go Up