firmware code for pic18f252


Results 1 to 8 of 8

Threaded View

  1. #8
    Join Date
    Mar 2008
    Posts
    25


    Did you find this post helpful? Yes | No

    Default firmware code for pic18f252

    since no one would review my c-code on this subject, ih have decided to modified suogata bacis code on sine wave inverter thread. i am using PIC16F72 for the evaluation because that is the processor that is readily available with me now.

    The picbasic iam using is the demo version and so i appriciate that i can't run a code more than 31 command line.however upon trying to compile the code ,the following erros are reported:

    1: Error line 116 :redefinition of label T0CON

    2: Error line 119: bad expression

    3: Demo limit of 31 command line exceeded (this is understood)

    pls, can any one fix these problem for me?.

    (a): With the way the modified code stands,can it generate two complimentary sine pwm signals DRIVE1& DRIVE2?.if yes how do i include a delay routine of about 470ns for dead-time control between the two signals?

    (b): If the code cannot generate the two complimentary sinepwm signals what do i do to fix the stuff?.

    regards,
    babalola.
    Attached Images Attached Images
    Attached Files Attached Files

Similar Threads

  1. Reading in Manchester code
    By brid0030 in forum Code Examples
    Replies: 0
    Last Post: - 10th March 2009, 21:55
  2. How much code space do PBP statements use.
    By Darrel Taylor in forum Code Examples
    Replies: 5
    Last Post: - 13th February 2009, 21:31
  3. Loop with two motor and 2 sensors
    By MrRoboto in forum mel PIC BASIC
    Replies: 4
    Last Post: - 8th December 2008, 23:40
  4. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 08:26
  5. Re-Writing IF-THEN-AND-ENDIF code?
    By jessey in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 18th August 2006, 17:23

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