MEL PICBASIC Forum
  • Register
  • Forgotten Your Password?


Hello ,


  • Home
    • MELabs PICBASIC
  • Forum
  • What's New
  • Buy Now
  • Wiki
  • Interrupts
  • Member Map
  • Live Posts
  • Advanced Search
  • Home
  • Home
  • Community Area
  • How To

  • Menu

    • Catalog
      • PICBASIC Compiler
      • AMICUS
      • PIC Programmers
      • Prototyping PCB
    • Support
      • Help
      • Update Policy
      • About Us
      • Legal Stuff (in no particular order)
    • FAQ
      • PICBASIC Pro
      • U2 Programmer
      • Field Programmer
      • Hid Maker
      • Microcode Studio
      • Experimenter Boards
    • Community Area
      • How To
        • Beginners
      • Compiler Error Codes
      • Settings for Beginners
      • Example Code
        • Darrel Taylors Works
        • A/D
        • Audio
        • EEPROM
        • Encoder
        • Ethernet / Internet
        • GPS
        • I2C
        • Infrared
        • Interrupts
        • Keypads
        • LCD
        • LED Display
        • Math
        • Real Time Clock
        • R/C
        • Serial Data
        • Timers
        • USART
        • Other Example Code
        • USB
      • Include Files
      • AMICUS18
        • Ethernet
      • Video
      • Useful Links
      • Electronics Suppliers
      • Wiki Help
    • User Projects
      • Community Competitions
        • BigPIC4 Dev Board
      • Aeronautical
      • Audio & Music
      • Automotive
      • Data Logging
      • Games
      • Health & Safety
      • Home & Utility
      • Infrared
      • Nautical
      • Opto & Display
      • Programming
      • Radio / RF
        • Amateur
      • Robotics
      • R/C Model
      • Seasonal
        • Easter
        • 4th of July
        • Halloween
        • Guy Fawkes
        • Christmas
        • New Year
      • Solar
      • Temperature
      • Test & Measurement
      • Other
  • Recent Forum Posts

    Ioannis

    Re: GOTO vs RETURN after a GOSUB

    Also, using GOSUB reduces code size as this Sub can be called from various points of the program to do the same job, maybe with some parameters passing to it.

    Keeps things structured.

    Ioannis

    Ioannis Today, 20:24 Go to last post
    kenif

    Re: Cannot compile 16F15345

    Yes, I posted the default. I tried lots of combinations but was trying to get this chip to run at 64 MHZ, when the max is 32.

    kenif Today, 18:11 Go to last post
    kenif

    Re: Cannot compile 16F15345

    You guys are right as usual. It had define OSC 64 for historical reasons.
    Here's the story: This is the guts for a lung ventilator.
    I designed all the boards, and do firmware everywhere else, but...

    kenif Today, 18:09 Go to last post
    mpgmike

    Re: Cannot compile 16F15345

    What jumps out for me is you say you are using a 16 MHz external oscillator, yet in your CONFIG statement you list:



    _FEXTOSC_OFF & _RSTOSC_HFINT32

    Your CONFIG should have _FEXTOSC_EHC &...

    mpgmike Today, 15:51 Go to last post
    Art

    Re: GOTO vs RETURN after a GOSUB

    If you want to be a cowboy for some reason you could have used GOTO instead of GOSUB.
    Then you could GOTO back as well (instead of RETURN).

    The difference between GOTO and GOSUB is that GOSUB...

    Art Today, 15:16 Go to last post
    Art

    Re: Oled

    KS0108 controller is very “like” in it’s interface to HD44780. So much “like” that it’s exactly the same.

    LCDOUT could certainly be used exclusively to control one, except the actual commands are...

    Art Today, 15:02 Go to last post
    richard

    Re: Cannot compile 16F15345

    is not a config error , the problem lies in the code not posted , somewhere an
    invalid OSC define exists

    richard Today, 01:20 Go to last post
    kenif

    Cannot compile 16F15345

    Can't find anything on forum.

    The default config doesn't work, nor any of my attempts to fix it.
    Latest IDE, latest PBP Gold 3.1. Current Microchip everything.
    This board worked fine with a...

    kenif Today, 00:15 Go to last post
    kenif

    Re: PWM and audio noise

    What everyone else says, plus:
    Declare a ground star point and make all grounds radiate from that point - no daisy chains.
    You should be able to trace ground noise origin with a scope....

    kenif Yesterday, 19:46 Go to last post
    n0yox

    Re: Input problems with 12F629?

    I just found my problem. It was these two lines

    SYMBOL RTOUT = GPIO.4

    SYMBOL PEIZO = GPIO.5

    I had changed my board on the last run and forgot to change the pin numbers in the code. The...

    n0yox Yesterday, 06:25 Go to last post
  • How To RSS Feed

    Microchip Tips and Tricks 

    by
    ScaleRobotics
    • View Profile
    • View Forum Posts
    • View Articles
    Published on - 17th June 2010 17:26  Number of Views: 6556 

    The link below has the most information about tips and tricks using PIC micro-controllers. The attachment is a smaller version ...
    Read More Read More

    Presetting Configuration Fuses (PIC Defines) into your Program 

    by
    Melanie
    • View Profile
    • View Forum Posts
    • View Articles
    Published on - 20th May 2010 16:27  Number of Views: 6132 

    1. What are the Configuration Fuses?
    2. How can I preset them in my Program?
    2.a. When using MeLabs default
    ...
    Read More Read More

    Bits, Bytes Words and Arrays 

    by
    Melanie
    • View Profile
    • View Forum Posts
    • View Articles
    Published on - 23rd April 2010 19:39  Number of Views: 2764 

    1. How can I reference a BIT in a BYTE?
    2. How can I reference a BIT in a WORD?
    3. How can I reference a BIT in a BYTE ARRAY?
    4. How can I reference a BIT in a WORD ARRAY?
    5. How can I reference a BYTE in a WORD ARRAY?

    ...
    Read More Read More

    I’m Running Out of CodeSpace, What Can I Do? 

    by
    Melanie
    • View Profile
    • View Forum Posts
    • View Articles
    Published on - 23rd April 2010 19:28  Number of Views: 5842 

    I’m Running Out of CodeSpace, What can I do?
    My progam is too slow - What can I do?


    Apart from the obvious and move to a faster PIC with more program memory, there’s a few little known tricks you can try.
    ...
    Read More Read More

  • Contact Us
  • Back to Home Page
  • Archive
  • Top
All times are GMT +1. The time now is 23:13.
Powered by vBulletin®
Copyright © 2018 vBulletin Solutions, Inc. All rights reserved.
Admin byLester,
PIC, PICmicro, dsPIC,MPLAB,PICBASIC, PICBASIC PRO, PICPROTO, and EPIC are trademarks of Microchip Technology Inc. in the USA and other countries.
Copyright © 2018 Crownhill Associates Limited. All rights reserved