serial in parallel out using PIC


Results 1 to 5 of 5

Threaded View

  1. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by daxki View Post
    INCLUDE "modedefs.bas"

    @ DEVICE MCLR_OFF, INTRC_OSC, WDT_OFF, LVP_OFF, PWRT_ON, PROTECT_OFF

    CMCON = 7 : VRCON = 0 : TRISB.0 = 1 : TRISB.1=1 : TRISA = 0 : DIPIN var byte : wvar var byte : CLPIN VAR bit

    here:






    PORTA=0








    SHIFTIN DIPIN,CLPIN,MSBPRE,[wvar\6] : PORTA=wvar : pauseus 500 : PORTA=0 : goto here
    end
    You keep shutting off everything on PortA every time thru the loop...
    Last edited by skimask; - 4th April 2007 at 00:54.

Similar Threads

  1. PIC to PIC "wired" serial one-way communication - SERIN2/SEROUT2
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 14th April 2008, 20:02
  2. Automatic VB6 to pic serial connection
    By arniepj in forum Code Examples
    Replies: 13
    Last Post: - 10th January 2008, 07:57
  3. Serial Com Pic to Pic
    By uludere72 in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 31st May 2005, 10:06
  4. Serial Pic to Pic using HSER
    By Chadhammer in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 11th March 2005, 23:14
  5. Serial communication PIC to PIC help.
    By Rubicon in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 24th January 2005, 15:45

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