nedd help 16f84


Results 1 to 6 of 6

Thread: nedd help 16f84

Threaded View

  1. #3
    Join Date
    Apr 2009
    Posts
    36


    Did you find this post helpful? Yes | No

    Default

    thank you very much joe for reply . i didnt inderstand good that code but if you dont mind please i want to know how to use the variable for read ..,b2
    i want to read from 1 to 10 addresses to b2 every 1000 mlscnd 1 byte from data to b2 so the shiftout has pause 1000 then it will count from 0 to 9 on 1 digit so i will understandhow to (vary) between epprom data and b2 example
    this is my last code i wrote now i can read from data to b2 and send it out to the digit but i need to count from 0 to 9 and pause between numbers please thank you so much



    define _HS_OSC & _LVP_OFF & _WDT_OFF & _CP_OFF
    define _BODEN_OFF & _MCLRE_ON & _PWRTE_ON



    DEFINE OSC 4

    Include "modedefs.bas"


    B2 var byte
    SDO VAR PortB.0
    SCLK var PortB.1

    TRISB = 0
    TRISA = 1


    Read 3,b2

    main:

    SHiftOUT SDO,SCLK,0,[B2\8]
    pause 1000
    goto main

    end
    data @ 0,252,96,218,242,102,182,190,224,254,246

    all what i want is to know how to use variables like this so i will inderstand and i can carry on .
    Last edited by malwww; - 2nd May 2009 at 06:13.

Similar Threads

  1. 16F84 and I2C bus
    By Navaidstech in forum General
    Replies: 2
    Last Post: - 20th March 2009, 16:04
  2. send data from VB 6 to PIC 16f84
    By win_832001 in forum Serial
    Replies: 2
    Last Post: - 9th March 2006, 14:21
  3. how to send data from VB to PIC 16f84
    By win_832001 in forum Serial
    Replies: 0
    Last Post: - 25th February 2006, 16:15
  4. End of the 16F84
    By Squibcakes in forum General
    Replies: 2
    Last Post: - 20th May 2004, 14:40
  5. Replies: 3
    Last Post: - 3rd September 2003, 12:05

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