Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: help needed ATMEGA16

  1. #11
    Junior Member Newbie
    Join Date
    Jul 2007
    Posts
    6

    Default

    the methods suggested by yagnesh and a7400 worked......but thanks to all of u for ur prompt support

  2. #12

    Default

    if u r programming in C..... a simpler way to do would be.....

    Eg : To check whether PIN D4 when configured as o/p is low or high

    if(PORTD & 0x10)
    {
    // this means pin D4 is high
    }
    else
    {
    // this means pin D4 is low
    }

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •