Is anyone willing to work with me to rewrite some code?


Results 1 to 9 of 9

Threaded View

  1. #7
    Join Date
    Mar 2011
    Location
    Los Angeles, California
    Posts
    322


    Did you find this post helpful? Yes | No

    Default Re: Is anyone willing to work with me to rewrite some code?

    Again I am looking at code that seems to be not written for PBP and/or is not complete. If you try and compile the code there are references to missing subroutines such as a subroutine called "buckle" as well as others. You would have to try and compile the code to see all the errors. The compiler seems to not be happy with any of the "$" in the Wdata statements! There is just so much I really do not understand. Here is what I have so far which is very little. I think if I can understand how to send commands to the STV5730 I could maybe make some serious progress? Just as an FYI using a crystal of 17.734475 MHz is for the PAL television standard. 14.318 MHz is for the American NTSC standard What we call "Never Twice the Same Color'! Best, Ed P.S. still have not mastered posting images.
    '************************************************* ***************
    '* Name : Data-Display.BAS *
    '* Author : Ed Cannady *
    '* Notice : Copyright (c) 2017 *
    '* : All Rights Reserved *
    '* Date : 6/3/2017 *
    '* Version : 1.0 *
    '* Notes : For use with an STV5730 and 18F2520 *
    '* : *
    '************************************************* ***************


    Define osc 20 'SET THE OSCILLATOR SPEED

    cmcon=7 'MAKE EVERYTHING DIGITAL

    DA VAR PORTC.4 'DATA OUT
    CL VAR PORTC.5 'CLOCK
    EN VAR PORTC.6 'CHIP ENABLE

    W VAR WORD



    INIT:
    HIGH CL : HIGH DA : HIGH EN 'RESET EVERYTHING
    PAUSE 250 'WAIT FOR THE RESET TO HAPPEN
    LOW EN ' ENABLE THE STV5730
    W=02 'SET THE BAUD RATE TO 9600
    ?
    ?
    ?
    HIGH CL : HIGH DA : HIGH EN ' prepare for next command
    Attached Images Attached Images    

Similar Threads

  1. Code doesn't work on 16F648A
    By Mr_Joe in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 1st September 2018, 23:09
  2. Replies: 6
    Last Post: - 6th April 2010, 20:27
  3. pls help me verify my code not work, why???
    By chai98a in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 18th January 2010, 10:19
  4. Why doesn't this servo code work?
    By artswan in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 5th December 2009, 23:18
  5. Why doesn't my code for 18f452 work on 18f252?
    By senojlr in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 23rd December 2005, 03:42

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