dht22 using bit field array and ext references


Results 1 to 5 of 5

Threaded View

  1. #1
    Join Date
    May 2013
    Location
    australia
    Posts
    2,390

    Default dht22 using bit field array and ext references

    I thought I would have a go at making a better dht reading routine , note this code uses a 64mhz clk that conveniently provides a 1uS increment with for a timer prescale of 16. if you choose a different clk then the timer prescale and or the timing limits will need adjusting.
    Attached Files Attached Files

Similar Threads

  1. DHT22, AM2302 and pic18F2320
    By bitmaniac in forum mel PIC BASIC Pro
    Replies: 17
    Last Post: - 15th November 2015, 00:42
  2. ShiftIn to array of bits using EXT modifier?
    By HenrikOlsson in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 12th March 2011, 14:30
  3. Symbolic bit references for SFR's
    By khaynes in forum PBP Wish List
    Replies: 0
    Last Post: - 18th March 2008, 22:17
  4. Help with bit array
    By Dick M in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 27th August 2006, 17:31
  5. Problem with bit array
    By Dick M in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 12th May 2005, 17:03

Members who have read this thread : 1

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