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
  • Example Code
  • GPS

  • 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

    rsocor01

    Re: GOTO vs RETURN after a GOSUB

    Yes, I'm asking myself the same question :D. Yes, your code looks better than mine. The program is probably overflowing the stack and halting like Dave said. Will the program restart from the...

    rsocor01 Today, 05:09 Go to last post
    sayzer

    Re: GOTO vs RETURN after a GOSUB

    This should work.



    MainLoop:

    'DO SOME STUFF HERE.....

    FOR J = 0 TO 7
    GOTO SearchForClockSignal

    sayzer Today, 04:38 Go to last post
    Dave

    Re: GOTO vs RETURN after a GOSUB

    It's probably overflowing the stack and halting.

    Dave Yesterday, 13:20 Go to last post
    pedja089

    Re: GOTO vs RETURN after a GOSUB

    Better question is why you would use GOSUB without RETURN? That just doesn't have any sense.
    If stack is full then PBP can't call internal subroutines, and it crash...
    You just disabled reset on...

    pedja089 Yesterday, 09:57 Go to last post
    rsocor01

    GOTO vs RETURN after a GOSUB

    Hi, I have the following code,



    MainLoop:

    'DO SOME STUFF HERE.....

    FOR J = 0 TO 7
    GOSUB SearchForClockSignal

    rsocor01 Yesterday, 00:48 Go to last post
    fowardbias

    Re: Oled

    Good point. I found a few with 80,000hr. life expectancy (50% luminosity). OK for me, I'm going for it, cost around $30 US.

    fowardbias - 16th April 2018, 00:17 Go to last post
    Dave

    Re: Oled

    In the past I have used some of the OLED displays BUT, at the time they only had a life expectancy of about 500 to 10000 hours. They were right. I did however have no problem using the PBP commands...

    Dave - 15th April 2018, 21:54 Go to last post
    Dave

    Re: Decline of PicBasic ?

    One thing I try to do is look for the actual data sheet and NOT the Preliminary sheet. I have found in the past MicroChip does NOT update the Preliminary sheets. It is in the footer...

    Dave - 15th April 2018, 21:51 Go to last post
    fowardbias

    Oled

    Has any one used the LCD write commands with a HD44780 "like" controller. Several OLED modules are advertised this way. How much "like" is my question? Did anyone find that the similarities were...

    fowardbias - 15th April 2018, 19:52 Go to last post
    mpgmike

    Re: Decline of PicBasic ?

    If I had a major gripe, it isn't with PBP, it's with the occasional mistake in the data sheets. For example, look at this first picture. It clearly states in the body of text regarding CCP that all...

    mpgmike - 15th April 2018, 14:35 Go to last post
  • GPS RSS Feed

    Using a 16F628A to indicate reliability of a 10MHz reference 

     Number of Views: 17351 
    Article Preview

    Amateurs using digital modes of communication or those requiring high stability at UHF frequencies require high stability ...
    Read More Read More

  • Contact Us
  • Back to Home Page
  • Archive
  • Top
All times are GMT +1. The time now is 10:19.
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