EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Replies / Anilph, current version of

Anilph, current version of

|

Microcontroller › AVR › Good AVR compiler › Anilph, current version of

June 12, 2012 at 11:29 am #8010
swk
Participant

Anilph, current version of AVR studio is 6.0, so use the latest always. and this version comes with GCC AVR compiler (WinAVR) so you can start your program right away.

 

if you are using code vision avr, then to access portD 0 as output you have to set the data direction.

 

here is the sample code for CVAVR.

 

DDRD.0 = 1;

PORTD.0 = 1; //ON

PORTD.0 = 0; //OFF

 

~SwK.

RSS Recent Posts

  • Voltage comparator circuit verification April 10, 2026
  • Some opamp advice please April 10, 2026
  • Help with a coffee machine circuitboard April 10, 2026
  • Bot checks April 10, 2026
  • Assistance locating a 'trail' camera gadget, please ? April 10, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise