Search found 46 matches

by jbs4wd
Mon Apr 11, 2011 12:17 am
Forum: Flowcode V4
Topic: Simple pulse input counter
Replies: 1
Views: 1846

Simple pulse input counter

I am having trouble getting this code to work in real life. Using 16f690 It's just a simple counter. Where it detects a pulse on A5, when the count gets to 50, turns an LED on, when the count gets to 100, turns that LED off and turn LED2 on. when it reaches 150 LED1 on, 200 LED1 off LED2 & 3 on etc....
by jbs4wd
Mon Dec 20, 2010 4:04 am
Forum: Flowcode V4
Topic: Countdown timer 16F690
Replies: 1
Views: 1967

Countdown timer 16F690

I am building a scoreboard timer. I have got the basics of what I need. Set to 30 (min) start, pause etc. I haven't played around with acurate timing before. What is the best way to this?

Cheers
JOHN
by jbs4wd
Fri Sep 24, 2010 5:27 am
Forum: Flowcode V4
Topic: Mathimatical question
Replies: 4
Views: 4519

Re: Mathimatical question

Daniel

Thanks again. It was spot on.

Cheers
JOHN
by jbs4wd
Fri Sep 24, 2010 12:46 am
Forum: Flowcode V4
Topic: Mathimatical question
Replies: 4
Views: 4519

Re: Mathimatical question

Thanks heaps. I nearly had it. Will give it go but I think you're on the money there

Thanks
JOHN
by jbs4wd
Thu Sep 23, 2010 3:17 am
Forum: Flowcode V4
Topic: Mathimatical question
Replies: 4
Views: 4519

Mathimatical question

If I set 'A' at 100 and set 'B' at 200. How do I make a adc input 'C' with full range (0 -255) work at full range between A & B? Then if I Change 'B' to 150, C still need to operate at full rang , but between A & B. C is a pot opperating between 0-5V. I can achieve this through hardware, but would l...
by jbs4wd
Wed Sep 22, 2010 9:26 am
Forum: Flowcode V4
Topic: Version Info
Replies: 4
Views: 2934

Re: Version Info

Thanks David. On they way.

JOHN
by jbs4wd
Wed Sep 22, 2010 8:39 am
Forum: Flowcode V4
Topic: Version Info
Replies: 4
Views: 2934

Re: Version Info

Hmm, that would be it then. How do I go about upgrading?
Thanks
JOHN
by jbs4wd
Wed Sep 22, 2010 5:48 am
Forum: Flowcode V4
Topic: Version Info
Replies: 4
Views: 2934

Version Info

I am trying to use the EEPROM function but why I go to compile to chip it says that my version 4.3 wont do it. What version do I need to be able to use this function?

Cheers
JOHN
by jbs4wd
Mon May 31, 2010 1:52 am
Forum: General Programming
Topic: Flashing/Pulsing Problem 16F690
Replies: 6
Views: 5164

Re: Flashing/Pulsing Problem 16F690

DAN & MADELEC
THANKS FOR YOUR HELP.
MAD, I HAVEN'T TRIED YOUR SUGESTION YET BUT DAN, IT WORKED!!!!!!
EVERYTHING IS STABLE AND WORKING BRILLIANTLY.
MAD, WHEN I GET TIME I WILL COME BACK AND ASK YOU HOW TO DO YOUR CALCULATIONS IF YOU DONT MIND
THANKS HEAPS
JOHN
by jbs4wd
Sun May 30, 2010 2:00 am
Forum: General Programming
Topic: Flashing/Pulsing Problem 16F690
Replies: 6
Views: 5164

Re: Flashing/Pulsing Problem 16F690

Thanks for the reply. To answer your questions; When it 'flashes' all outputs flash at a 1/2 sec rate. I have checked the adc i/p when this happens and all is stable and no where near the comparison point. ie: PS (airbag) = 2.5v and initialset is at 1.5v. I have tried adding resistors and capacitors...
by jbs4wd
Thu May 27, 2010 9:54 pm
Forum: General Programming
Topic: Flashing/Pulsing Problem 16F690
Replies: 6
Views: 5164

Flashing/Pulsing Problem 16F690

Would anyone know why when I have a simple compasrison program that works well on PC but when put into real life (onto board) it flashes its outputs?
I have checked the board and everything there is fine.


Cheers
JOHN
by jbs4wd
Tue Mar 30, 2010 9:29 pm
Forum: Flowcode V4
Topic: Errors after update to Flowcode 4.3
Replies: 25
Views: 15683

Re: Errors after update to Flowcode 4.3

S**t hot it worked. Changed the language to "BRITISH" lol.

Cheers

JOHN
by jbs4wd
Tue Mar 30, 2010 9:22 pm
Forum: Flowcode V4
Topic: Prob with V4.3????
Replies: 3
Views: 2595

Re: Prob with V4.3????

Ben

I am using windows XP.
The input/output devices in my projects are LED's, ADC, and 4seg7 and se7 arrays.

Cheers
by jbs4wd
Mon Mar 29, 2010 2:51 am
Forum: Flowcode V4
Topic: Prob with V4.3????
Replies: 3
Views: 2595

Prob with V4.3????

I installed the lasted version of flowcode 4.3. Now all my project open with an error indication I think it cant find the input or out put item related to the programm. ie: Run-time error 326, Resource identifier '8' not found. that was just 1 window. The identifiers change for each error. Have I do...
by jbs4wd
Mon Feb 15, 2010 9:11 pm
Forum: Electronics products
Topic: button increase and decrease
Replies: 2
Views: 4014

Re: button increase and decrease

Thanks alot. That did help. I managed to nut it out a slightly different way, but yours will be used as well.

Cheers
JOHN
by jbs4wd
Thu Feb 04, 2010 4:22 am
Forum: Electronics products
Topic: button increase and decrease
Replies: 2
Views: 4014

button increase and decrease

Could someone please get me started on this. I need an up and down button which will increase or decrease a value which I want to compare another value with. ie: value = 150 when up button pushed a value of 5 is added to (value) making it 155. same for the decrease. I know what I want to do with thi...
by jbs4wd
Wed Dec 09, 2009 8:57 pm
Forum: Flowcode V4
Topic: 4 button latchin project
Replies: 6
Views: 4221

Re: 4 button latchin project

I was looking at the clocking. Thanks. Will fix up what you sujested and see how we go. Here is a description of what the unit has to do as you asked. INFORMATION WHAT HAS TO HAPPEN. ON START UP, HWY LED & HEVEY LEDS ARE ON, HWY/HVY POT IS ON, THE REST IS OFF. HWY & OFF ROAD BUTTONS TOGGLE BETWEEN E...
by jbs4wd
Wed Dec 09, 2009 1:47 am
Forum: Flowcode V4
Topic: 4 button latchin project
Replies: 6
Views: 4221

Re: 4 button latchin project

I have just found another anomaly (spell???????) in the C code view. #ifndef MX_ADC_TRIS_REG #pragma error "ADC Type 3 conversion code error - please contact technical support" #endif This happens a couple of times. What does this mean and how can it be fixed. I have added the C code view file to lo...
by jbs4wd
Wed Dec 09, 2009 1:14 am
Forum: Flowcode V4
Topic: 4 button latchin project
Replies: 6
Views: 4221

Re: 4 button latchin project

Got the bloody pickit working. I actually forgot about the interupt macro. I don't think I will need it just yet so I got rid of it. However is still doing the same. staying on with HWY LED ON, HVY LED ON, HWY/HVY LED ON. But what gets me though is why an input pin is being turned on? (HVY PIN and O...
by jbs4wd
Wed Dec 09, 2009 12:34 am
Forum: Flowcode V4
Topic: 4 button latchin project
Replies: 6
Views: 4221

Re: 4 button latchin project

Thanks medel,

I will give it a try as soon as I get my bloody pickit working again. It just had a hernia and OS stuffed up in it. I will let you know how things go.
Thanks again
by jbs4wd
Tue Dec 08, 2009 9:11 pm
Forum: Flowcode V4
Topic: 4 button latchin project
Replies: 6
Views: 4221

4 button latchin project

Hi I have just purchased flowcode and loving it. Upgraded to 4.2. I have a problem tho. Although I have made up a program and it simulates perfectly, when I down load to the PIC (16F690) via the pickit2 it doesn't work in real life. The initial setting comes on and that's it. Also the HVY button inp...