DHT22, AM2302 and pic18F2320


Closed Thread
Results 1 to 18 of 18

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Re: DHT22, AM2302 and pic18F2320

    Quote Originally Posted by blueocean View Post
    what is lata.0? it's not named in the variables
    Yes it is, it is an LED.
    Dave
    Always wear safety glasses while programming.

  2. #2
    Join Date
    Nov 2015
    Posts
    6


    Did you find this post helpful? Yes | No

    Default Re: DHT22, AM2302 and pic18F2320

    Quote Originally Posted by mackrackit View Post
    Yes it is, it is an LED.
    microcode syntax error on this line:

    INTCON2.7=0

    and a bad data type on this line:

    led var LATA.0

  3. #3
    Join Date
    Nov 2015
    Posts
    6


    Did you find this post helpful? Yes | No

    Default Re: DHT22, AM2302 and pic18F2320

    Quote Originally Posted by mackrackit View Post
    Yes it is, it is an LED.

    but i used a pic16f876a, how can i change those two instructions?

  4. #4
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Re: DHT22, AM2302 and pic18F2320

    Try
    PORTA.0
    Dave
    Always wear safety glasses while programming.

Similar Threads

  1. PIC18F2320 RA4 output problem
    By Kristjan in forum General
    Replies: 2
    Last Post: - 30th May 2007, 23:56

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

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