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
  • USART

  • 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

    mpgmike

    Re: 12F683 PWM output not remembering.

    Where have you given EE_Duty a value? Instead of "EE_Duty VAR WORD" try using "EE_Duty CON 0" where you are using EEPROM Address 0 as a storage place for your Duty.

    mpgmike Today, 05:56 Go to last post
    mpgmike

    Re: ADC resolution for 16F616

    First; when you look at a Special Function Register in the Data Sheet, there are letters & numbers above each Bit in the Register. For example, ADCON0 bit 7 (denoted as ADCON0.7) has "R/W-0" above...

    mpgmike Today, 05:39 Go to last post
    pescador

    Re: ADC resolution for 16F616

    I'm using Analog port 2 on 16F616 - 4Mhz.. VDD as reference. Any help would be great. I didn't have to set the ADCON registers for 8 bit. Why is 10 bit different? Was I lucky?

    pescador Today, 03:36 Go to last post
    pescador

    Re: ADC resolution for 16F616

    I dont know what I'm doing.. I dont know what to set ADCON1 to.

    pescador Today, 03:23 Go to last post
    pescador

    Re: ADC resolution for 16F616

    Its working - but crazy numbers now - 32k instead of 1024 uggg...

    pescador Today, 03:02 Go to last post
    pescador

    Re: ADC resolution for 16F616

    I've been reading other posts - so I tried this to see if light would turn green - fail


    DEFINE ADC_BITS 10
    DEFINE ADC_CLOCK 3
    DEFINE ADC_SAMPLEUS 50

    ADCON1=%10000010

    OUTPUT PORTA.1 ...

    pescador Today, 02:43 Go to last post
    pescador

    Re: ADC resolution for 16F616

    Note: - I'm not doing anything as far as CCP1CON, CM1CON0,CM2CON0, CM2CON1, ADCON1.

    Yes I'm new...

    pescador Today, 02:17 Go to last post
    pescador

    ADC resolution for 16F616

    I'm using a 16F616 analog input with a ADCIN routine. My resolution is 5V / 256 = about .19 mv. I'm using a voltage divider for the input with .1% tolerance resistors. Is there a better way to...

    pescador Today, 01:45 Go to last post
    pescador

    12F683 PWM output not remembering.

    I have a circuit using a 12F683. It uses a PWM output that controls LED brightness. When the user turns off the circuit and turns it back on - it needs to remain at the same brightness as when was...

    pescador Today, 01:07 Go to last post
    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 Yesterday, 20:24 Go to last post
  • USART RSS Feed

    USB CDC Communications for Dummies! 

    by
    Squibcakes
    • View Profile
    • View Forum Posts
    • View Articles
    Published on - 1st June 2010 04:16  Number of Views: 5355 

    Want to communicate with your PIC via USB?
    Want to install a virtual Comm port on your PC?
    Want to send serial ...
    Read More Read More

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