Search found 286 matches

by xor
Tue Jul 15, 2008 9:12 pm
Forum: Compiler
Topic: 18F2520 - blinking led
Replies: 10
Views: 5659

Try adding this to the beginning of the program:

Code: Select all

Dim LED As LATA.0      // LATx is the port output register

TRISA = 254       // or %11111110   // sets RA0 as output
by xor
Tue Jul 15, 2008 2:08 pm
Forum: Compiler
Topic: Nesting
Replies: 2
Views: 1849

PIC18's have a 31 deep stack for nested subroutine calls.
by xor
Sat Jun 28, 2008 4:39 pm
Forum: User Modules
Topic: PWM2 : the Frequency go out too on C5, C6 , C2 ....
Replies: 3
Views: 3376

I have used every board from EP2 thru EP5. Primarily EP3 and EP4. It is difficult to damage those boards. About the worst you can do is damage the CD4053 analog switches connected to the programmer circuit. I only know a couple instances where that has occurred.... when someone connected high voltag...
by xor
Sat Jun 28, 2008 5:09 am
Forum: User Modules
Topic: PWM2 : the Frequency go out too on C5, C6 , C2 ....
Replies: 3
Views: 3376

Re: PWM2 : the Frequency go out too on C5, C6 , C2 ....

I try to use the program PWM2 on C1,C2 pin connection and it's run fine on ISIS but on my EASYPIC 4 Programmer, i Find the Frequency out too on The others C.pins. Make sure your pullup/pulldown resistors are disconnected on PORTC. Since the resistor array is common there can be feedback to the othe...
by xor
Wed Jun 25, 2008 11:35 pm
Forum: Compiler
Topic: My first attempt using USB with a 18F4550
Replies: 11
Views: 6987

I'm not sure since it's been a while since I ran SF USB on a setup. I believe that the Input and Output Report Bytes are fixed at 64 each. If I'm not mistaken, again, the module utilizes the USB DATA RAM and not the regular Data RAM.
by xor
Wed Jun 04, 2008 2:07 pm
Forum: Modules
Topic: i2C Slave Module Support
Replies: 4
Views: 4086

Is Multi-Master I2C a viable concept straight up?
by xor
Sun Jun 01, 2008 5:41 pm
Forum: Compiler
Topic: Method for 24 bit counting
Replies: 6
Views: 3895

Capture has an interrupt flag and so does Timer1. You can easily extend TIMER1 to 32bits of counting by continual adding and storing in a LongWord variable each timer overflow event. If you started Timer1 at 0 you can catch every 65536 (overflow) counts and still not interfere with the CCP input's a...
by xor
Sun Jun 01, 2008 2:14 pm
Forum: Compiler
Topic: Method for 24 bit counting
Replies: 6
Views: 3895

The CCP module has features which might be helpful to you, such as 2 Capture inputs which are dead accurate in collecting timer values. You can collect and add values without ill effects on accuracy.
by xor
Sun May 25, 2008 8:51 pm
Forum: IDE
Topic: Using ICD2 to Program from inside the IDE
Replies: 10
Views: 7470

Dave... This is great news!

Warren
by xor
Sun May 25, 2008 8:48 pm
Forum: User Modules
Topic: Variable variable problem
Replies: 2
Views: 2983

Re: Variable variable problem

Francis wrote:[NOTE: NONE of the individual ADC values ever go above 2000, normally in the hundreds
I've got the array merely to try and pinpoint fault/problem.
10-Bit ADC's max at 1023.
by xor
Fri May 02, 2008 2:07 pm
Forum: Compiler
Topic: UART encoded IR
Replies: 3
Views: 2689

If you look in the datasheet under Memory Organization, you will find a chart with the SFR addresses. Note, for instance that the address for LATA is 9 more than PORTA, and so on. Use PORTx for input functions and LATx for PIC output functions. You can toggle between PORT and LAT fairly easily with ...
by xor
Sat Apr 26, 2008 10:40 pm
Forum: General
Topic: Need for Female-Female Cables
Replies: 7
Views: 4304

The Sparkfun part appears to be identical to WizBang, just a bit shorter and more expensive. They have insulated connectors on both ends of the wire. I use the same insulated connector on my EZ-FPC adapter: http://www.circuit-ed.com/ezfpc/images/ezfpc_550.jpg http://www.circuit-ed.com/ezfpc/images/e...
by xor
Wed Apr 23, 2008 3:19 pm
Forum: Compiler
Topic: Swordfish compiler
Replies: 13
Views: 6413

I don't see if you reinstalled SF. Try downloading the current version of the compiler and re-installing it on your system. That should provide a fresh start to help troubleshoot the problem. You haven't included any information about your OS or PC system, which might be pertinent. You will note fro...
by xor
Fri Apr 18, 2008 4:29 pm
Forum: General
Topic: Need for Female-Female Cables
Replies: 7
Views: 4304