How to get .hex from this code??


Results 1 to 13 of 13

Threaded View

  1. #6
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default

    I have seen some codes, where guys had something like:
    Code:
    #include < blablabla.h >
    Does i need some .h file to be included?
    Right you are. The code looks like it was written for a Basic Stamp Pic Chip. For this, just add the include at the top of your program, then it will compile without errors.
    Code:
    DEFINE OSC 20       'define crystal speed. This is 20 mhz
    include "bs1defs.bas"    'lets you use definitions same as Basic Stamp 1
    Last edited by ScaleRobotics; - 21st June 2009 at 08:29.
    http://www.scalerobotics.com

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