PDA

View Full Version : what do you use for PIC, assembly, or C language?


tetsu-jp
29-12-2011, 09:35 PM
Or BASIC maybe.

I used RISC assembly for a while, 16F and 18F, as well 16F extended range.
I have a codebase of about 1 megabyte sources now.
However it becomes more and more messy to maintain, means it can take a long while to understand a source from 3 years ago, especially when the schematics are absent.

So, recently I decided to use Hitech-C in the future.
I tried it one evening and had a small program running after only some minutes.

It is not I do not like assembly, or I could not understand it.
But, doing advanced things results in length sources stretching over pages, and in C
it is considerably less lines. As well the banking is now handled by the compiler.

PIC32 assembly is very complicated- too complicated for me actually, I have taken a look the programming manuals. For PIC32 C language is the only way to go!

longtu
30-12-2011, 11:10 AM
It is very easy to use CCS compiler to program microcontroller PIC. You can see anywhere on this forum to study it or http://www.ccsinfo.com/forum/

tetsu-jp
18-03-2012, 11:35 AM
this LED matrix clock was programmed using Hitech C!

http://pic.hitechworld.org/ledmatrixclock.html

LCD supply 3 volts, charge pump IC for LCD glass.
4 bit mode.

3x4 LEDs matrix

RTC IC

dc/dc converter, 1.2v supply

The time is loaded at startup from the RTC.

most of the 2K program memory is used up already.

maichi
17-08-2012, 04:28 PM
Oh, thank for your sharing information.