by
Wond3rboy
Published on 21st August 2012 07:54 AM
Number of Views: 1011
Hi, here is a code in C18 for using an LCD in 4-bit mode to display the string "Hello ETO!". It uses a 4MHz oscillator
...
by
Ian Rogers
Published on 20th October 2011 03:11 PM
I have decided to convert these tutorials into C. Mainly because there are hardware designs available.
The original designs and code are on Nigel's site..
http://www.winpicprog.co.uk/pic_tutorial.htm
Chip used in following tutorials "pic16f628a"
There is 9 tutorials in Lesson 1 (tutorial_1_C.zip)
There is 4 tutorials in Lesson 2 (tutorial_2_c.zip)
And 3 in lesson 3 (tutorial_3_c.zip)
Lesson 4 has only two (tutorial_4_C.zip)
Chip used in tutorial 6_7 is pic16f648a
Chip used in tutorial 7_7 and tutorial 8 is pic16f876a
I have finished and tested
...
by
OlPhart
Published on 27th February 2011 11:09 AM
I wrote this for toggle switches. It first looks for a change of state. If seen, it counts loops to be constantly in that
...
by
OlPhart
Published on 26th February 2011 09:50 PM
I wrote this for use on pushbuttons. It first looks for an active low state. If seen, it counts loops for a constant low
...
by
Wond3rboy
Published on 11th February 2011 10:45 AM
Number of Views: 1344
Hi, this is a code snippet for writing to and reading from the registers of a BQ3287(DS12885-DS12C887A) Real Time Clock using INTEL timing, it has been tested using 16Mhz, 4Mhz, 10Mhz XTALs.
...
by
Mr RB
Published on 22nd January 2010 02:46 PM
Number of Views: 1732
Here are some easy C code examples to generate 1-second (or any period) from any xtal value and any interrupt period.
...
by
kchriste
Published on 21st January 2010 08:57 AM
Here is a simple hello world code for a dsPIC33FJ64MC802.
...
by
kchriste
Published on 21st January 2010 08:03 AM
Since there seems to be very little "simple" code for the dsPIC; here is a "Hello World" example for the dsPIC30F2020 for any who may be interested
...