Proton BASIC Compiler - Add New Section
Register
Forgotten Your Password?
Remember Me?
Hello Unregistered ,
Home
Welcome to Proton BASIC Compiler
DOWNLOAD
BUY
UPDATE
Forum
Beginners
Files
What's New?
Wiki
Advanced Search
Home
Wiki
Example Code
Other Example Code
25% discount and FREE shipping with coupon code PROTON-25
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
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
FineLineIDE
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
GSM/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
Tools and Production Equipment
South Africa
Misc stuff
Projects
Plug-In & Library Dev
PCB Rework Equipment
PCB Rework Equipment
Audio & Music
Opto & Display
Games
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
Aeronautical
Home & Utility
Test & Measurement
Loaders
RTOS
Other
Videos
Proton PIC® BASIC
Electronics
Microchip
Special Interests
Robotics
Silicon
PCB Manufacture
CNC
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
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
FineLineIDE
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
GSM/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
Tools and Production Equipment
South Africa
Misc stuff
Projects
Plug-In & Library Dev
PCB Rework Equipment
PCB Rework Equipment
Audio & Music
Opto & Display
Games
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
Aeronautical
Home & Utility
Test & Measurement
Loaders
RTOS
Other
Videos
Proton PIC® BASIC
Electronics
Microchip
Special Interests
Robotics
Silicon
PCB Manufacture
CNC
Pic® Basic
Other Example Code
1MHz Square Wave generator using the PWM peripheral
by
Les
View Profile
View Forum Posts
Private Message
Visit Homepage
View Articles
Published on 10th September 2018 00:41
Here's a setup that will generate a 1MHz square wave output from the CCP1 peripheral, and operate in the background, using ...
Read More
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 Synchronizes to Write
by
AlbertoFS
View Profile
View Forum Posts
Private Message
View Articles
Published on 26th May 2016 23:54
Reducing crosstalk between tracks on the PCB is a matter only of hardware and making the schematic design and the PCB. ...
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
Debouncing 8 inputs by interrupt
by
AlbertoFS
View Profile
View Forum Posts
Private Message
View Articles
Published on 20th March 2016 22:37
There are hundreds of ways for debouncing the readings of a mechanical sensor. The use of vertical counters has held my ...
Read More
Using Proton CDC
by
View Profile
View Forum Posts
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
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 13:51
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
Using the CWrite command on 18F devices
by
View Profile
View Forum Posts
View Articles
Published on 19th November 2015 00:42
Using the CWrite command, Proton allows you to take advantage of the self-modifying program memory feature on newer micros ...
Read More
GRAY code
by
AlbertoFS
View Profile
View Forum Posts
Private Message
View Articles
Published on 11th November 2015 22: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
Print Table Strings
by
AlbertoFS
View Profile
View Forum Posts
Private Message
View Articles
Published on 31st December 2014 00:27
Theses libraries are used to print strings written in tables and help avoid some typos.
I extracted some code from ...
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
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
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
Re: CCITT CRC16 [CRC-16] Routines
by
View Profile
View Forum Posts
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
CCITT CRC16 [CRC-16] Routines
by
View Profile
View Forum Posts
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
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
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
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