Search found 286 matches

by xor
Fri Jul 31, 2009 3:08 am
Forum: IDE
Topic: GLCD Font Creator plugin (POLL)
Replies: 4
Views: 4319

I think i emailed you privately at one time about added functionality to create button shapes with icon symbols. Also to use he same shape to add a shadow effect. Both can be used together using the SET_IMAGE function to create a pushed and release effect when using a touchscreen. Here is a video ex...
by xor
Tue Jul 28, 2009 4:16 pm
Forum: Compiler
Topic: PIC18FxxJ11 Series
Replies: 12
Views: 7220

Thanks for the quick reply. 1- I do not have a compiler for the 24Fxx/24Hxx/ds33xx or the time/$ to learn/buy one. I have seen some posts about the possibility of a new SF that would. Count me as close to the front of the line if/when they become available. I really like SF and how helpful some of ...
by xor
Sat Apr 04, 2009 11:58 pm
Forum: Compiler
Topic: PWM question
Replies: 3
Views: 2779

0%, 25%, 50%, 75% and 100% duty should be available at all valid PWM frequencies. Only Duty-Cycle resolution is affected for different frequencies (allowing finer percentage adjustment). At 8MHz the lowest possible frequency for the PWM module is 488Hz. You can get more info about this on the WIKI: ...
by xor
Sat Apr 04, 2009 10:55 pm
Forum: Compiler
Topic: PWM question
Replies: 3
Views: 2779

Whenever I deal with the internal oscillator settings (OSCCON and OSCTUNE) I do a test to check if the desired frequency is really achieved. You have set up for 8MHz. Do a small loop with a delay and blink an LED at a rate you can perceive well, such as 1/2 sec or 1 second duration. The compiler cre...
by xor
Sun Jan 25, 2009 12:39 am
Forum: User Modules
Topic: 18F26K20 SD Testing
Replies: 55
Views: 38405

There is the new 18FJ LV Programmer.... wondering if that can work? Seems that I'm slowly being pushed into the 3V neighborhood by Microchip as I look for more processing speed. :?
by xor
Sun Jan 25, 2009 12:16 am
Forum: User Modules
Topic: 18F26K20 SD Testing
Replies: 55
Views: 38405

Thanks rene, I've been out of circulation for a while. First thing that caught my eye in the Migration Doc was 3V operation!!! That was sneaky... no notes to that effect on the first page of the datasheet. I had mine mounted on the EasyPIC and tried to program and it failed (using mB). Might have co...
by xor
Sat Jan 24, 2009 11:43 pm
Forum: User Modules
Topic: 18F26K20 SD Testing
Replies: 55
Views: 38405

I got my hands on some 18F46K20's. My question to successful users of the "K" PIC's with SF is, did you add a new Def file or might it work with the Def file for the 18F4620? Or possibly alter an existing Def file?

Thanks.
by xor
Mon Dec 08, 2008 2:00 pm
Forum: User Modules
Topic: Accurate TMR0 clock
Replies: 10
Views: 6822

Sorry, I didn't use the compiler to write the code and check the syntax. Like all code writing you sometimes find yourself working through the silly syntax errors.
by xor
Sun Dec 07, 2008 6:32 am
Forum: User Modules
Topic: Accurate TMR0 clock
Replies: 10
Views: 6822

I forgot some code inside the ISR and made a change in the above posted code. You would need to add this code:

Code: Select all

Dim CCPR as CCPR1L AsWord

// add this to the ISR code... 

   CCPR = CCPR + 62500
by xor
Sun Dec 07, 2008 12:55 am
Forum: User Modules
Topic: Accurate TMR0 clock
Replies: 10
Views: 6822

No timer reload is required when using the Compare method of the CCP module. Timer1 is never stopped which maintains accuracy. 1. Setup CCP1CON for Compare with Software Interrupt. 2. Setup T1CON for Timer1 @ 1us increments. 3. Clear Timer1 3. Load CCP1RL:CCPR1H = 62500 4. Start Timer1 5. Enable GIE...
by xor
Sat Dec 06, 2008 11:54 pm
Forum: Compiler
Topic: Buttons, Capacitive Touch Sensing
Replies: 14
Views: 9644

I need to do some more study on this method before commenting too much on the subject.... 8)
by xor
Sat Dec 06, 2008 10:33 pm
Forum: Compiler
Topic: Buttons, Capacitive Touch Sensing
Replies: 14
Views: 9644

The single button detection should be no problem since it's a pretty straightforward type of detection. I was recommending using either the CCP1 or CCP2 PWM output for your relaxation oscillator. 400KHz is no problem with a 8MHz main osc, no T2 prescaler, and PR2=5. It will run continuously without ...
by xor
Sat Dec 06, 2008 10:02 pm
Forum: Compiler
Topic: Buttons, Capacitive Touch Sensing
Replies: 14
Views: 9644

Rene, that seems a reasonable approach for a group of single buttons. Instead of the 555 maybe you could use a CCP output to create a useful frequency via the PWM module.
by xor
Sun Nov 16, 2008 10:14 pm
Forum: Compiler
Topic: Fonts
Replies: 5
Views: 3364

Below is a list of working pin definitions for the EasyPIC boards. I also included Dave's posting above for the EasyPIC5. I believe the confusion is not a particular fault of the EasyPIC markings, since they might make logical sense when compared to the GLCD datasheet names of CSA and CSB for those ...
by xor
Sun Nov 02, 2008 4:48 pm
Forum: Compiler
Topic: CCP and timer1 questions
Replies: 5
Views: 4567

There are several different methods depending on the resolution you need. You hit on one of the simpler methods. Count the number of pulses for 1 second and multiply by 30 (using 2 pulses per rev). If you had sensors that produced 60 pulses per revolution, you just count the pulses during a 1 second...