Proton BASIC community web site
  • Register
  • Forgotten Your Password?


Hello Unregistered ,


  • Home
    • Welcome to Proton BASIC Compiler
  • BUY
  • Forum
  • Beginners
  • Files
  • What's New?
  • Wiki
  • ++ UPDATES ++
  • My Notes
  • Member Map
  • Advanced Search
  • Home
  • Home
  • Wiki
  • Example Code
  • Other Example Code

  1. If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
  • Menu

    • Proton Products
      • Hardware
        • Amicus 18
        • PROTON Development Board MKII
        • Proton Serial Graphics LCD
        • Crownhill Solderless Development System
        • ProtonIR - Infra-Red Development Kit
        • Proton-Smart - Smart Card Development
        • Proton Net - Networking for PIC® microcontrollers.
        • Proton ChipDrive Mobile Development System
      • Software
        • Proton Development Suite
        • Proteus VSM
        • Proton for FREE!
      • Resellers
    • Support
      • Pre Sales Questions
      • Supported microchips
      • OnLine Ordering
      • Compiler Updates
      • Contact Us
      • About Us
      • Legal Stuff (in no particular order)
    • Beginners
      • Glossary of Terms
      • How to...
    • Wiki
      • Wiki Help
      • Useful Links
      • Tips and Tricks
        • Math
        • I/O
        • Conserving Power
        • Proton
        • ADC and Measurement
        • LCDs and Displays
        • Simulate and debug
      • Application Notes
      • New devices and techniques
      • Tools and Utilities
        • FineLine IDE
        • USB Bootloader for 18F Units
        • Timer Calculator
        • The Terminator
        • Find Full File Names Greater Than 255 Utility
      • Library Manager
      • Plugins
      • Example Code
        • A/D
        • Amicus18
        • Audio
        • BCD
        • EEPROM
        • Encoder
        • Encryption
        • GPS
        • I2C
        • Infra Red
        • Interrupts
        • Keypads
        • LED Display
        • LCD Text
        • LCD Graphic
        • Port expander
        • Proton24
        • PWM
        • Radio frequency
        • Real Time Clock
        • Sensors
        • Serial Data
        • SPI
        • Temperature sensing
        • Timers
        • Ultrasonic
        • USART
        • USB
        • Other Example Code
      • WiFi
      • Linux
      • Electronics Suppliers
        • UK and Europe
        • USA
          • Parts Sources
          • Parts Search Engines
          • PCB Fabrication Services
          • Tools and Production Equipment
        • South Africa
          • Misc stuff
    • Projects
      • Plug-In & Library Dev
      • PCB Rework Equipment
        • PCB Rework Equipment
      • Audio & Music
      • Opto & Display
      • Games
      • Automotive
      • Radio / RF
        • GSM
        • 3G
        • GPS
        • Amateur
          • ShortWave
          • VHF
          • UHF
          • SHF
          • Test & Measurement
      • Data Logging
      • R/C Model
      • Seasonal
        • Halloween
        • Christmas
        • Easter
        • 4th July
        • Guy Fawkes
        • New Year
      • Robotics
      • Nautical
      • Aeronautical
      • Health & Safety
      • Home & Utility
      • Test & Measurement
      • Loaders
      • RTOS
      • Other
    • Videos
      • Proton PIC® BASIC
      • Electronics
      • Microchip
      • Special Interests
        • Robotics
        • Silicon
        • PCB Manufacture
        • CNC
    • Interesting
    • Industry News
      • Microchip News
      • Maxim News
      • Linear News
      • TI News
      • New Technology
      • Dataweek
      • Other
        • Legislation
        • Components
        • Technology
        • Products
  • Pic® Basic


  • Other Example Code

    NCO and CLC on 16F1509 to implement a XOR between external signal and a reference (NCO) 

    Published on 28th October 2016 09:40

    This article was originally published in forum thread: NCO to forum started by Oldhack View original ...
    Read More Read More

    Read Synchronizes to Write 

    by
    AlbertoFS
    • View Profile
    • View Forum Posts
    • Private Message
    • View Articles
    Published on 26th May 2016 23:54
    Article Preview

    Reducing crosstalk between tracks on the PCB is a matter only of hardware and making the schematic design and the PCB. ...
    Read More Read More

    Another way to use the Watchdog 

    by
    AlbertoFS
    • View Profile
    • View Forum Posts
    • Private Message
    • View Articles
    Published on 17th May 2016 00:25

    All PICmicro® devices have a Watchdog timer which gives the code developer a way to reset the device in the event of unexpected ...
    Read More Read More

    Debouncing 8 inputs by interrupt 

    by
    AlbertoFS
    • View Profile
    • View Forum Posts
    • Private Message
    • View Articles
    Published on 20th March 2016 21:37

    There are hundreds of ways for debouncing the readings of a mechanical sensor. The use of vertical counters has held my ...
    Read More Read More

    Using Proton CDC 

    by
    Dick Barton
    • View Profile
    • View Forum Posts
    • Private Message
    • View Articles

    It's taken a while to get my head around the CDC example but I've finally have Les's example working.
    The CDC_Descriptor ...
    Read More Read More

    Interfacing to a DS1990 i-Button device 

    by
    Les
    • View Profile
    • View Forum Posts
    • Private Message
    • Visit Homepage
    • View Articles
    Published on 16th January 2016 12:51
    Article Preview

    A DS1990 is an i-Button device that has a unique ID value imprinted within it. It can be used as an electronic key, or pass ...
    Read More Read More

    Using the CWrite command on 18F devices 

    by
    electronicsuk
    • View Profile
    • View Forum Posts
    • Private Message
    • View Articles
    Published on 18th November 2015 23:42

    Using the CWrite command, Proton allows you to take advantage of the self-modifying program memory feature on newer micros ...
    Read More Read More

    GRAY code 

    by
    AlbertoFS
    • View Profile
    • View Forum Posts
    • Private Message
    • View Articles
    Published on 11th November 2015 21:05

    I propose a little routine for encoding and decoding the Gray code. When I found the solution and I realized that most nice ...
    Read More Read More

    Print Table Strings 

    by
    AlbertoFS
    • View Profile
    • View Forum Posts
    • Private Message
    • View Articles
    Published on 30th December 2014 23:27

    Theses libraries are used to print strings written in tables and help avoid some typos.
    I extracted some code from ...
    Read More Read More

    Simple Single button ON & off using interrupt 

    by
    yvesmazzon
    • View Profile
    • View Forum Posts
    • Private Message
    • View Articles
    Published on 27th April 2014 11:13

    Hello all,
    The program below is how a single push button can turn off an entre circuit by using a DC/DC regulator ...
    Read More Read More

    Simple single button power on/off 

    by
    Les
    • View Profile
    • View Forum Posts
    • Private Message
    • Visit Homepage
    • View Articles
    Published on 28th September 2012 13:47

    Here's a little test program that I used recently for a project of mine. I thought it may interest some users.
    ...
    Read More Read More

    Test for sign of a float 

    by
    John Drew
    • View Profile
    • View Forum Posts
    • Private Message
    • Visit Homepage
    • View Articles
    Published on 23rd September 2012 03:41

    To test whether a number is negative or positive you could locate the sign bit (it's in byte1 of a float).
    The sign ...
    Read More Read More

    Re: CCITT CRC16 [CRC-16] Routines 

    by
    IanHemmingsen
    • View Profile
    • View Forum Posts
    • Private Message
    • View Articles
    Published on 25th April 2011 03:57

    What I use. Pulled and modified from the ether somewhere

    Dim CRC As Word ;CRC16 value ...
    Read More Read More

    CCITT CRC16 [CRC-16] Routines 

    by
    pciebiera
    • View Profile
    • View Forum Posts
    • Private Message
    • View Articles
    Published on 7th April 2011 09:24

    I needed a stream CRC16 calculator for a project I was working on, I found a small example in C and ported it to Proton+, ...
    Read More Read More

    Correcting timing errors 


    I got this one from Olivier

    When writing a timer routine it is often very difficult to get accuracy. If ...
    Read More Read More

    Two Dimensional Arrays 


    It can be very useful some times to work with two dimensional arrays. Using this new macro it's now possible. (For the 18F ...
    Read More Read More

    Number of Cycles 


    If you want to know the number of cycles it takes to perform a task on a PIC® the following gives an example...
    ...
    Read More Read More

    • Contact Us
    • Home of Proton BASIC (Proton Development Suite)
    • Archive
    • Privacy Statement
    • Top
    All times are GMT +1. The time now is 21:16.
    Powered by vBulletin®
    Copyright © 2018 vBulletin Solutions, Inc. All rights reserved.
    © Crownhill Associates Limited 1995-2016, All rights reserved.

    All Trademarks acknowledged. E & OE


    Your IP Address: 54.162.105.6  |  OS: Unknown  |  Browser: Unknown