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
  • A/D

  • 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

    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 Today, 06:25 Go to last post
    mpgmike

    Re: 18F2550 With Problems

    Charles Leo taught me to list every single CONFIG item in the header on every program. There is a document included with the PBP package that lists all the CONFIGs and what the options are for every...

    mpgmike Yesterday, 16:09 Go to last post
    nuno106

    Re: 18F2550 With Problems

    Thanks for your answer mpgmike,

    I found the problem:

    For default, the XINST was On, and this change the extended instruction set.

    I change it to --> XINST_OFF, and everything works well.
    ...

    nuno106 Yesterday, 09:05 Go to last post
    fratello

    Re: Input problems with 12F629?

    See this post : http://www.picbasic.co.uk/forum/showthread.php?t=1426&p=7072#post7072
    Maybe is useful !

    fratello Yesterday, 07:41 Go to last post
    n0yox

    Re: Input problems with 12F629?

    I have read this thread several times and looked at the datasheet several time as well. I am having problems with code that has worked fine in the past and suddenly I can not make GPIO.0 and GPIO.3...

    n0yox - 22nd April 2018, 23:05 Go to last post
    Alberto

    Re: Book of DT interrupts

    Thank you for the answer!

    Alberto

    Alberto - 21st April 2018, 17:43 Go to last post
    mpgmike

    Re: 18F2550 With Problems

    Try changing:


    if tecla_dta = 1 then cnt_lixo_1 = cnt_lixo_1 + 1 : lcdout $FE, $C0,"Tcl Dta" : pause 1500
    if tecla_esq = 1 then cnt_lixo_2 = cnt_lixo_2 + 1 : lcdout $FE, $C0,"Tcl Esq" : pause...

    mpgmike - 21st April 2018, 00:30 Go to last post
    nuno106

    18F2550 With Problems

    Hi everyone,

    I'm starting a small program with Pic 18F2550, but it doesn't work well...

    It should start with number 2 at Cnt_Lixo, and increment 1 every 1,5 seconds.

    Sometimes (one in...

    nuno106 - 20th April 2018, 20:53 Go to last post
    Ioannis

    Re: Oled

    Is there any special reason why one should pay 30 bucks for an LCD?

    Ioannis

    Ioannis - 20th April 2018, 15:15 Go to last post
    Ioannis

    Re: Book of DT interrupts

    The mobile devices cannot access the site yet. This will need some extra work by our boss. He knows and when time allows I am sure he will do it.

    Please be patient as all this require time and...

    Ioannis - 20th April 2018, 15:13 Go to last post
  • A/D RSS Feed

    Precision Volts and Amps Meter 

    by
    Ramius
    • View Profile
    • View Forum Posts
    • View Articles
    Published on - 27th June 2012 15:31  Number of Views: 1964 
    Article Preview

    Hi All!
    Here is the code to create a voltmeter and ammeter. Everyone has a "display of choice" so you can ...
    Read More Read More

    Oversampling analog to digital readings 

    by
    ScaleRobotics
    • View Profile
    • View Forum Posts
    • View Articles
    Published on - 15th October 2010 16:51  Number of Views: 6433 
    Article Preview

    Darrel Taylor has a great oversampling include file. This can give you a 10 through 16 bit result from a 10 bit A/D PIC ...
    Read More Read More

    Analog to digital averaging with hysteresis 

    by
    Darrel Taylor
    • View Profile
    • View Forum Posts
    • View Articles
    Published on - 15th October 2010 16:29  Number of Views: 6046 

    You know how the least sigificant digit will "wobble" back and forth between 2 numbers? It's half-way between ...
    Read More Read More

    Voltage Divider Example 

    by
    Darrel Taylor
    • View Profile
    • View Forum Posts
    • View Articles
    Published on - 7th October 2010 03:19  Number of Views: 6612 
    Article Preview

    Here is an example by Darrel Taylor for a voltage divider circuit. This makes it possible for a PIC to give an analog measurement ...
    Read More Read More

    How to use the HLVD module as a low voltage monitor 

    by
    jellis00
    • View Profile
    • View Forum Posts
    • View Articles
    Published on - 29th May 2010 15:05  Number of Views: 3517 

    In hopes this might help someone avoid the time it took me to learn this I will make this contribution of code as a solution ...
    Read More Read More

    Sensor Scaling 

    by
    mackrackit
    • View Profile
    • View Forum Posts
    • View Articles
    Published on - 27th May 2010 17:17  Number of Views: 4147 

    Scaling an analog sensor is not a difficult as it may seem. Even when zero units is not zero volts.


    ...
    Read More Read More

    All Digital 

    by
    Darrel Taylor
    • View Profile
    • View Forum Posts
    • View Articles
     Number of Views: 4662 
    Article Preview

    ALLDIGITAL.pbp

    If you want to use all the pins on your PIC as general Input/Output, you must first enable ...
    Read More Read More

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