Search found 41 matches

by Drakkor
Tue Sep 08, 2015 7:17 pm
Forum: Flowcode V5 Issues
Topic: Unable to assemble
Replies: 3
Views: 7640

Re: Unable to assemble

David, Hello. I am using version 5.5.0.1. I tried various chips and the same error appears. Also, I have used the pic micros in the past without any trouble. I did disable antivirus but that did not change? Hmmmmmm? File name: C:\Documents and Settings\SKII\My Documents\Flow Code\Rc Switch\TractorLi...
by Drakkor
Tue Sep 08, 2015 4:00 am
Forum: Flowcode V5 Issues
Topic: Unable to assemble
Replies: 3
Views: 7640

Unable to assemble

Hi, i seem to be getting this error no matter what chip I use or code I write. I did not change anything in my settings either. I did a repair type re-install but that did nothing. I have checked to make sure that the file path is there, and it is Error: Failed to open:libc.pic16.lib or C:\Program F...
by Drakkor
Tue Feb 18, 2014 12:44 pm
Forum: General Programming
Topic: Momentary pushbutton debounce help
Replies: 6
Views: 6088

Re: Momentary pushbutton debounce help

Kenrix2, Thanks for the help. I am not sure if I can use the int pin on this chip? Could you show me a quick example? Thanks again : )
by Drakkor
Mon Feb 17, 2014 6:50 pm
Forum: General Programming
Topic: Momentary pushbutton debounce help
Replies: 6
Views: 6088

Momentary pushbutton debounce help

Hi, I know that my code could be improved but I am only interested in the debounce part right now. I made a project with a Pic12f675 for a flasher that will flash two tail lights on a tractor. The program has eight flash modes. It starts out with a count of ONE so it starts in a slow flash rate by d...
by Drakkor
Mon Dec 23, 2013 12:41 pm
Forum: Programming Tips & Tricks
Topic: Pickit2 pic12f1840
Replies: 2
Views: 5785

Re: Pickit2 pic12f1840

Hi Martin, Thanks. I wasn't sure of the best place to post it : )
by Drakkor
Mon Dec 23, 2013 1:37 am
Forum: Programming Tips & Tricks
Topic: Pickit2 pic12f1840
Replies: 2
Views: 5785

Pickit2 pic12f1840

Hi, If you are having trouble with pickit2 and pic12f1840, or other newer chips, then this may help you. Long story but I changed chip I was using from a pic12f675 for more speed. This was the first time using this (Newer) device. I was seeking help in another post before I found my answer which was...
by Drakkor
Sun Dec 22, 2013 8:21 pm
Forum: Flowcode V5
Topic: PWM pic12f675 time period?
Replies: 11
Views: 10481

Re: PWM pic12f675 time period?

Hello again. I found my 12f1840 chips, updated my pickit2 device list but I get the same error. HHHMMmmmmmmmmmm? C:\Program Files\Flowcode\v5\Tools\PICkit2\pk2cmd.exe -BC:\Program Files\Flowcode\V5\Tools\PICkit2\ -PPIC12F1840 -FTest1840.hex -M -A5 -R -T PK2DeviceFile.dat device file requires an upda...
by Drakkor
Fri Dec 20, 2013 10:13 pm
Forum: Flowcode V5
Topic: PWM pic12f675 time period?
Replies: 11
Views: 10481

Re: PWM pic12f675 time period?

Martin, Now I finally see what I was missing : ) Thank you for all the time you took to help me, I appreciate it very much : ) This information is like a Christmas gift to me : ) I'll let you know how I do, although I am working 12 hour shifts right now so it may be a couple weeks. Thanks again and ...
by Drakkor
Fri Dec 20, 2013 8:06 pm
Forum: Flowcode V5
Topic: PWM pic12f675 time period?
Replies: 11
Views: 10481

Re: PWM pic12f675 time period?

Medelec, Hi. Thanks for all the help. I just happen to have some of those 1840 chips. I remember I bought them for some reason but can't remember why? In my code, I thought that the prescaler made the pulses (Not oscillator speed) run at 32xxx, I may have put an extra digit in there by mistake? As f...
by Drakkor
Thu Dec 19, 2013 10:17 pm
Forum: Flowcode V5
Topic: PWM pic12f675 time period?
Replies: 11
Views: 10481

Re: PWM pic12f675 time period?

Hi Medelec35. Thanks for the links but they were doing more than I was looking for and in French language? I was really lost. I have it running at 50 Hz. I just need to see how to get the 20ms frame/time period? I can't see the relationship between clock speed/pre-scaler/ etc. I'm one of those slow ...
by Drakkor
Thu Dec 19, 2013 6:58 pm
Forum: Flowcode V5
Topic: PWM pic12f675 time period?
Replies: 11
Views: 10481

Re: PWM pic12f675 time period?

Benj, Hi. I am able to generate pwm with this chip but the only thing I don't know is how to calculate, and then control the time period, which needs to be (Or is best) at 20ms. I guess in rc servos they call it frame rate?
by Drakkor
Thu Dec 19, 2013 3:28 pm
Forum: Flowcode V5
Topic: PWM pic12f675 time period?
Replies: 11
Views: 10481

PWM pic12f675 time period?

Hello again. While I have been using pic 12f's for awhile now with good results, I am unsure of what controls each part of PWM in code (Not C code though) as I have been doing OK without it so far. This time (Project) instead of reading PWM I am generating it. I just cannot seem to find out what con...
by Drakkor
Fri Nov 08, 2013 3:45 pm
Forum: Flowcode V2 & V3
Topic: PWM LED question
Replies: 12
Views: 23988

Re: PWM LED question

Benj, Hello I am using an example of code that you wrote for ramping an LED up and down. It uses tmr0, and macros ramp up, ramp down and flash. I really am trying to see where the duty cycle is being created here? I hate when I know something works but not how it actually happens. Thanks.
by Drakkor
Thu Nov 07, 2013 7:29 pm
Forum: General Programming
Topic: Conflicting interrupts
Replies: 0
Views: 2610

Conflicting interrupts

Hi. I am using a Pic12f675 and I am so close to completing a project but there is one problem. I have a Tmr0 interrupt to ramp up/down one LED and and flash two LEDs PWM. I am using port interrupt on change, GPIO2. To control if the led routine is on or off (From a radio control receiver), I am usin...
by Drakkor
Tue Nov 05, 2013 12:19 am
Forum: General Programming
Topic: CCP VS Regular I/O pin?
Replies: 12
Views: 8837

Re: CCP VS Regular I/O pin?

Cool. Thank you. I appreciate all the great help : )
by Drakkor
Mon Nov 04, 2013 9:59 pm
Forum: Feature requests
Topic: Simulate C-code
Replies: 2
Views: 2925

Re: Simulate C-code

Thanks for the explanation. I figured it would be a complicated thing to do. I'll just keep studying c code and testing on the breadboards : )
by Drakkor
Mon Nov 04, 2013 4:26 pm
Forum: Feature requests
Topic: Simulate C-code
Replies: 2
Views: 2925

Simulate C-code

Hi, I don't know if Ver 6 has this ability but it would be nice to be able to simulate the project when there is C-code in it : )
by Drakkor
Mon Nov 04, 2013 2:54 pm
Forum: General Programming
Topic: CCP VS Regular I/O pin?
Replies: 12
Views: 8837

Re: CCP VS Regular I/O pin?

Martin, Thank you so much. Once I see how it's done, I won't forget it : )
by Drakkor
Mon Nov 04, 2013 12:51 pm
Forum: General Programming
Topic: CCP VS Regular I/O pin?
Replies: 12
Views: 8837

Re: CCP VS Regular I/O pin?

Hi, Yes I do want to do both on one chip. I already have a working project with the leds using TMR0 but I want to be able to turn the beacon and strobes off with one switch on my Radio controlled a plane transmitter. I will be measuring between 1 and 2 ms pulses. I want to turn it on say.....anywher...
by Drakkor
Sun Nov 03, 2013 11:53 pm
Forum: General Programming
Topic: CCP VS Regular I/O pin?
Replies: 12
Views: 8837

Re: CCP VS Regular I/O pin?

Hi, I want to decode the pwm, not make it. I have done it by polling on an I/O pin but I want to see how it would be done on a chip with the built in ccp? I just can't find even the simplest of examples anywhere? Any help would be appreciated : )
by Drakkor
Sun Nov 03, 2013 9:08 pm
Forum: General Programming
Topic: CCP VS Regular I/O pin?
Replies: 12
Views: 8837

Re: CCP VS Regular I/O pin?

hi, this is no help as I have been there already . I really need a simple example if you could? Sometime it amazes me that information is so hard to find. I thought I was done using assembly but I wonder if that may be better than Flowcode sometimes?
by Drakkor
Sun Nov 03, 2013 3:19 pm
Forum: General Programming
Topic: CCP VS Regular I/O pin?
Replies: 12
Views: 8837

CCP VS Regular I/O pin?

Hi. Well here's the deal. I have been using a pic12f675. I am able to decode PWM and light several leds depending on the PWM as to which ones light up (For radio controlled airplane lights). I also have a project that ramps a beacon (LED) up and down to simulate a red beacon. It also flashes to brig...
by Drakkor
Mon Oct 21, 2013 3:45 pm
Forum: General Programming
Topic: How to use BOTH timers?
Replies: 2
Views: 3158

Re: How to use BOTH timers?

Benj, Thanks for the fast reply. Yes, I am using Flowcode 5. I have not yet put the two programs together into one. I think I have to manually add all the code to make it into one program right? I am not sure if or how to designate timer 0 for counting the PWM and timer 1 to count for the ramping up...
by Drakkor
Sat Oct 19, 2013 3:59 pm
Forum: General Programming
Topic: How to use BOTH timers?
Replies: 2
Views: 3158

How to use BOTH timers?

Hi.. I am using a pic12f675. I want to know how to use both timers if that is possible? I am not sure that I even need to but I am using an interrupt on pin change to read PWM which needs to keep an accurate count. I started this project to make a switch to turn things (Lights) on and off on an RC p...
by Drakkor
Thu Oct 17, 2013 4:31 pm
Forum: General Programming
Topic: strange code ?
Replies: 5
Views: 4483

Re: strange code ?

Jonny, Thank you. I appreciate all the help and information :D