PIC12F Series
Moderators: David Barker, Jerry Messina
PIC12F Series
Hi,
I was wondering if there was support for the PIC12F510 part, and if there are any examples I could look at on how to use the A/D for voltage measurement. Any help would ge greatly appreciated.
Thanks
I was wondering if there was support for the PIC12F510 part, and if there are any examples I could look at on how to use the A/D for voltage measurement. Any help would ge greatly appreciated.
Thanks
SF support 18F parts only.
Will Swordfish Support the 16 Series of PIC Microcontroller?
Highly unlikely. Architecturally, the 16 series does not lend itself well to a structured high level language. It can be done - but it always involves compromising or constraining the language in some way. I accept this will impact on potential sales, but this isn't what Swordfish is about. The only absolute regarding development is that the compiler must be robust. As a code writer, you must trust the tools you use. Everything else is secondary. This is our primary objective. Finite resources means we must maintain a clear focus regarding development in order to achieve this objective.
I really do not understand people who want to use high level language on an mcu with only 38 sram and (most important) 2 stack levels
These MCUs are only suited for ASM. it's better to use asm on them. There is a little support in at a certain extent HITECH C compiler Pro (latest version), but it's still a rudimentary support. really the best solution for these MCU is asm.
Regards
These MCUs are only suited for ASM. it's better to use asm on them. There is a little support in at a certain extent HITECH C compiler Pro (latest version), but it's still a rudimentary support. really the best solution for these MCU is asm.
Regards
Thanks All
Hi,
Thanks for the replies. I guess it is true you can't teach a ole dog new tricks. I wrote ASM Pic code many years ago when the parts came out, but that does not mean I want to still do it in assembly when I could possible write it in basic. Is it possible the 18F13K50 part is covered yet ? I am trying to find a PIC part with a A/D on it that is cheap to use.
Thanks
Thanks for the replies. I guess it is true you can't teach a ole dog new tricks. I wrote ASM Pic code many years ago when the parts came out, but that does not mean I want to still do it in assembly when I could possible write it in basic. Is it possible the 18F13K50 part is covered yet ? I am trying to find a PIC part with a A/D on it that is cheap to use.
Thanks
Thansk For The Help
Thanks for the help RMTEO. I am still looking for a 8-20 pin part that I can support with the Swordfish compiler and also has a A/D I can measure analog voltages with. I need to measure 0-1.5VDC with a PIC and monitor it to make sure it stays within a range.
Widgetman
Widgetman
Unless your design is so constrained by available PCB real estate, there is really no advantage in going for a low pin count device - except perhaps for saving a few pennies. PIC18F's start at 18 pins:
http://www.microchip.com/ParamChartSear ... &pageId=74
Yes, you correct about some "K" parts being 5V - apologize for my mistake. Check the datasheet for 18F13K50. It is designed to be a low cost USB part.
http://www.microchip.com/ParamChartSear ... &pageId=74
Yes, you correct about some "K" parts being 5V - apologize for my mistake. Check the datasheet for 18F13K50. It is designed to be a low cost USB part.