Sign in

username:

password:



Not a member?

Search piclist



Search tips

Subscribe to piclist



Ads

piclist by Keywords

12F675 | 16F628 | 16F84 | 16f877 | 16F877A | 16F88 | 18F458 | ADC | AVR | Bootloader | CAN | CCS | CRC | EAGLE | EEPROM | ICD | ICSP | IDE | JDM | LED | Macros | Microchip | MPLAB | PCB-CAD | PIC10F | Pic12f675 | PIC16F84 | PIC16F84A | PIC16F877 | PIC18 | PIC18F452 | PicBasic | PICC | PICSTART | PWM | RS-485 | RS232 | SMT | SPI | UART | USART | USB | Wireless | Wisp628 | Xilinx

Discussion Groups

Piclist

A discussion group for the PICMicro microcontroller. Also called the Microchip PIC, this list is dedicated to the use and abuse of this fine, simple, microcontroller. Close to topic posts are welcome, ie. general electronics.

Search Results for "macros"

  

Post a new Thread

Need help with PIC Macros   [30 Articles]

stephendbarnes - Apr 16 2003
Hello all, I have been attempting to make use of Karl Lunt's PIC Macros with no success during the build phase. I have followed his instructions and emailed h... Need help with PIC Macros

Another Newbie Question   [4 Articles]

xdriverdude - Feb 12 2004
Ok here goes another PIC Newbie question. Background information: I have an LM34DZ (Temperature Sensor) connected to the AD converter and I can get the AD con... Another Newbie Question

RE: Re: Software help

Madhu Annapragada - Aug 5 2003
Are you looking for a way to speed up what you do in Excel? If so you can do this using Excel Macros (you can do the import, average, display using a single or a gr... RE:  Re: Software help

C18 Version 3.21 won't use macros?   [5 Articles]

Dennis Clark - Oct 14 2008
Hi all, I've an oddball question. I've just installed MPLAB 8.14 and C18 3.21 on a system and tried to build my projects. They fail because C18 gives a syntax error on ... C18 Version 3.21 won't use macros?

Re: New ASM vs C   [2 Articles]

rtstofer - Nov 5 2004
In some ways it comes down to productivity. It has long been rumored that IBM studied the issue extensively and came up with a metric that a programmer coul... Re: New ASM vs C

Re: Re: MPLAB 6.40 vs MPLAB 5.6x assembler error

sergio masci - Mar 17 2004
----- Original Message ----- From: Phil <> To: <> Sent: Wednesday, March 17, 2004 5:01 PM Subject: [piclist] Re: MPLAB 6.40 vs MPLAB 5.6x assembler error ... Re:  Re: MPLAB 6.40 vs MPLAB 5.6x assembler error

Re: Short PIC Program - Help needed badly

rtstofer - Feb 18 2005
--- In , "Phil" wrote: > > Its not at all unusual to have 2 btfss in a row - many valid uses of > that construct. I do hate skip instruct... Re: Short PIC Program - Help needed badly

Re: TRISA/B/C not changing for 16F72

Harold Hallikainen - May 23 2008
I normally use macros to do bank selects, but below it looks like you've selected bank 3 instead of bank 1. The bsf is setting bank RP1 while I think you want RP0. Harold > ... Re:  TRISA/B/C not changing for 16F72

Re: Stream ouput on RB7 pin using 16f84..

rtstofer - Nov 18 2003
Yes, Microchip did define some aliases to help with the not very obvious way that btfss and btfsc handle branching. They are helpful I suppose but they are not... Re: Stream ouput on RB7 pin using 16f84..

macros   [2 Articles]

- Feb 23 2003
I do all of my PIC software in assembly using MPLAB.  I use a lot of macros in my code writing in order to make the coding simpler and easier to read and troubleshoot... macros

Re: Best PIC Compiler???   [7 Articles]

rtstofer - Apr 16 2003
Second question first: Basic has a lot of included functions because it is generally an interpreted language. That is, there is an interpreter running inside t... Re: Best PIC Compiler???

College student - Need help badly, please?   [2 Articles]

devonsc - Nov 29 2004
Hi there, I'm a newbie in using PIC microcontroller. Currently, implementing a PIC microcontroller unit (PIC 16F876) for a project. There are a few ... College student - Need help badly, please?

Re: goto k , k>2048 and PCLATH

rtstofer - Jul 10 2004
Check out the documentation on LGOTO and LCALL - these are built-in macros that handle paging. --- In , "ntricoup" wrote: > Hi to everyone,... Re: goto k , k>2048 and PCLATH

Re: Pic vs. other MCU

rtstofer - Sep 11 2008
--- In p...@yahoogroups.com, "ray xu" wrote: > > Thanks! Great info. Assembly code may very well operate faster than compiled C code because you can be quite clever in ... Re: Pic vs. other MCU

Re: labels   [3 Articles]

sergio masci - Jan 23 2004
----- Original Message ----- From: Chad Russel <> To: <> Sent: Friday, January 23, 2004 1:31 AM Subject: Re: [piclist] labels > I think the work arou... Re:  labels

Re: Macro VS Subroutine   [3 Articles]

Doug Reiland - Mar 8 2005
macros put the code "inline". Faster than a jump to a subroutine, but if you use it several times in your code, you eat up code space. You have to judge the trade... Re:  Macro VS Subroutine

Re: Division

Eirik Karlsen - Apr 18 2006
Paul, in some special cases it can be done very simple; divide by 2 is a right shift, if you want the remainder you'll have to save the bits that are shifted out and process the... Re:  Division

Re: Memory bank problems?

Phil Seakins - Jan 10 2005
At 05:05 PM 10/01/05, sirtiffguy wrote: >So heres my stumper of a question... I am using multiple banks of >memory (16 bit pointer) in a Pic16f877. I am recieving d... Re:  Memory bank problems?

Re: Re: Writing to an LED in embedded C

Phil Seakins - Dec 5 2004
At 08:31 AM 5/12/04, rtstofer wrote: >Using PIC C Lite (a derivative) the form PORTA |= 0x30 will work and >PORTA &= ~0x30 will probably turn them off. >Again, ch... Re:  Re: Writing to an LED in embedded C

RE: Re: Pic Serial LCD - YokYokBloomBloomBakaBaka

Brad Woolley - Jun 12 2003
Hi, The 16F84A has enough ports for the full 8 bit LCD, one incoming serial, and RA4 is spare although not the 'easiest' port to work with for outputs, I'm als... RE:  Re: Pic Serial LCD - YokYokBloomBloomBakaBaka

RE: MPLAB C18 compiler student version

Alan Marconett - Aug 14 2008
I did use configure -> select to set the processor. I saw the linker file as well. Not clear on whether I need the c018 or co18i file, I'll check that out. Same for the linke... RE:  MPLAB C18 compiler student version

Re: Comparison Instructions in PIC

rtstofer - Dec 13 2004
There is a rather complete series of 'Special Instruction Mnemonics' that perform various tests and branch-on-condition. These mnemonics often generate two ... Re: Comparison Instructions in PIC

Re: Assembler vs C   [6 Articles]

Eirik Karlsen - Sep 19 2008
Well, I can't really see why people, and especially beginners should be hell bent on using C and shying away from asm. Actually I think beginners are better off starting with asm ... Re:  Assembler vs C

Re: 4 bits PIC-LCD

Fagundes Elétrica - Sep 28 2003
Hi; Here are the code for 16F72, you can change it for your aplication. I don't use RW control. It is grounded! []'s Marcelo. ;;;;;;;;... Re:  4 bits PIC-LCD

Re: Embedded Architecture Question

sergio masci - Oct 21 2003
Trent wrote: > Hi All, > > I have started using the fixed point math code from uChip. I > recently made a call to it during the ISR and quickly realized I wa... Re:  Embedded Architecture Question

Re: Bank Select Code   [3 Articles]

rtstofer - Dec 21 2003
Rather than try to remember what bank to select {0..3} you can use: banksel name where name is the name of a SFR or variable. It doesn't remove the requirem... Re: Bank Select Code

Re: Digest Number 376

Tom Walker - Apr 19 2003
Good description, Bert, but I'd like to correct one thing (and maybe clear up some of the overall confusion). In your second case, you imply that the...well, let... Re:  Digest Number 376

Re: Re: 16F628 on-chip eeprom problem

Kees Stenekes - Mar 3 2004
Hi, I even made some assembler-macro's that can be used for the '628. They work perfectly. Kees. ;==========================================================... Re:  Re: 16F628 on-chip eeprom problem

Re: Good HLL platform   [2 Articles]

sergio masci - Nov 12 2004
----- Original Message ----- From: Vic Fraenckel <> To: PICList <> Sent: Friday, November 12, 2004 1:03 PM Subject: [piclist] Good HLL platform > >... Re:  Good HLL platform
| 1 | 2 | next