Search found 36 matches

by sptcarl
Fri May 14, 2021 9:41 pm
Forum: Flowcode V7
Topic: Controlling many outputs with 74HC595
Replies: 7
Views: 5247

Re: Controlling many outputs with 74HC595

Hi Ben, Thanks for the reply. I actually started to copy your 3d cube a few years back, but unfortunately I never completed it due to lack of free time and patience with the LED soldering! :lol: There can be any number of LEDs on at once, some will be flashing so refreshing probably no more frequent...
by sptcarl
Tue May 11, 2021 8:26 pm
Forum: Flowcode V7
Topic: Controlling many outputs with 74HC595
Replies: 7
Views: 5247

Controlling many outputs with 74HC595

HI guys, It has been a while since I have started anything new with Flowcode, so I am a but rusty! I need to control a large quantity of LED lamps individually. Yes I know I could use addressable ones, but it is not practical, and yes I could use a matrix, but again not practical (both mainly becaus...
by sptcarl
Fri May 25, 2018 11:26 pm
Forum: Bug reports
Topic: Config Settings Checksum Error
Replies: 5
Views: 6672

Re: Config Settings Checksum Error

Thanks Steve, I edited the .cfgdata file as you suggested and yes, once I had done the same for CONFIG2 too, it "fixes" it. I mostly only use the F887 (and F886) so that will keep me happy for now. So one issue solved, I just need to figure out now why some of my FC6 creations will not compile with ...
by sptcarl
Thu May 24, 2018 11:59 pm
Forum: Bug reports
Topic: Config Settings Checksum Error
Replies: 5
Views: 6672

Re: Config Settings Checksum Error

Hi Steve, thanks for offering to look into this. I have simplified my example to be just the basic 1 second flasher, and the results are still the same. I use PIC16F887 Frequency set at 8Mhz (I really need to test it with a completely different type of chip I guess) Configurations for both versions ...
by sptcarl
Wed May 23, 2018 10:55 pm
Forum: Bug reports
Topic: Config Settings Checksum Error
Replies: 5
Views: 6672

Config Settings Checksum Error

So FC8 is released and I still can't get FC7 to work 100%! I program PICs using the TL866 Universal programmer, but hex code generated by FC7 with XC8 compiler, the programmer software reports a mismatch of the config checksum. Of course I can get round this by either telling the programmer software...
by sptcarl
Fri Feb 12, 2016 5:10 pm
Forum: Flowcode V6
Topic: Modify single 7 Segment LED
Replies: 20
Views: 10435

Re: Modify single 7 Segment LED

Wow this has moved on a bit since I was last on here! Ben, I used your original modified component and it worked fine (I didn't need the clear digit part, although it would still be nice to have the DP connection as optional). I will try your latest one when I get chance. I might be mistaken George_...
by sptcarl
Thu Feb 04, 2016 2:38 pm
Forum: Flowcode V6
Topic: Modify single 7 Segment LED
Replies: 20
Views: 10435

Re: Modify single 7 Segment LED

Hi Martin, No there are no unused pins to connect them to (that's how I have got around it in the past with other projects). I could be wrong, but I was certain that back in Flowcode V3, there was no common connection for the LED display, so I was assuming that it would be easy to get rid of it now ...
by sptcarl
Wed Feb 03, 2016 11:45 pm
Forum: Flowcode V6
Topic: Modify single 7 Segment LED
Replies: 20
Views: 10435

Re: Modify single 7 Segment LED

Hi Martin, Thanks for the quick reply. The circuit board connects to 1 single 7 segment display whose common anode is permanently connected to the +VE supply rail, so no microprocessor control is required for the common. The DP of the display is not connected to anything as it is not used. It is the...
by sptcarl
Wed Feb 03, 2016 10:54 pm
Forum: Flowcode V6
Topic: Modify single 7 Segment LED
Replies: 20
Views: 10435

Modify single 7 Segment LED

I have never modified a component so wouldn't know where to begin, but is it possible to modify the LED display so that I do not have to specify connections for pin7 (DP) and Pin8 (Common) I was hoping I could leave them assigned as Unconnected, but of course it will not compile. Because the project...
by sptcarl
Thu Oct 23, 2014 12:06 am
Forum: General Programming
Topic: PIC18f14k50 will not program
Replies: 0
Views: 2736

PIC18f14k50 will not program

Is it possible to program a PIC18f14k50 on a EB-006-00-6 (firmware V7)? PPPv3 (version 3.14.20.35) auto detects the 20 pin device in the 14 pin socket, but sending the program code OR fuse data to the PIC returns with the message, "programming failed <0><1><2><3><5><6><8><9><10><11><12><13>" Can som...
by sptcarl
Sun Sep 15, 2013 6:46 pm
Forum: Electronics products
Topic: Fan Out PIC16F887
Replies: 1
Views: 5671

Fan Out PIC16F887

Hi guys, Can anyone tell me the average fan out of a PIC output pin? I need to control up to 20 PIC based circuit boards from one PIC based "master" board. The furthest run would be be around 10 metres. Most of the master control would be done serially (output RC7) plus a couple of general outputs. ...
by sptcarl
Thu Jun 16, 2011 8:37 pm
Forum: Flowcode V2 & V3
Topic: Compiler Error (FC V3)
Replies: 12
Views: 8806

Re: Compiler Error (FC V3)

Hey Medelec, sorry, I must have missed your post while I was writing mine. It looks a good method, but just someething I haven't got time to try at the moment! Ben, The device is a 16f886, (Ill check the data sheet later) I'm now getting very confused and there are a couple of things I cant get my h...
by sptcarl
Thu Jun 16, 2011 4:37 pm
Forum: Flowcode V2 & V3
Topic: Compiler Error (FC V3)
Replies: 12
Views: 8806

Re: Compiler Error (FC V3)

Hi Ben, What sort of values should I be looking for here? I've had a play about, and tried writing the value to LEDs (only the first 7 bits though, cant access the 8th easilly on the circuit board) I seem to be getting values as follows.. 0 at the start of the program 4 after variables have been ini...
by sptcarl
Wed Jun 15, 2011 9:40 pm
Forum: Flowcode V2 & V3
Topic: Compiler Error (FC V3)
Replies: 12
Views: 8806

Re: Compiler Error (FC V3)

Hi Ben, I already tried a disable icon at the beginning, it didn't make any difference. I shall show up even more of my ignorance now, and say that I'm not even sure what a bootloader is. Im assuming its something to do with programing the chip? I use the pic development board to program the PICs th...
by sptcarl
Wed Jun 15, 2011 2:41 pm
Forum: Flowcode V2 & V3
Topic: Compiler Error (FC V3)
Replies: 12
Views: 8806

Re: Compiler Error (FC V3)

I spoke too soon,
B0 Interrupt still doesn't disable!
by sptcarl
Wed Jun 15, 2011 12:52 pm
Forum: Flowcode V2 & V3
Topic: Compiler Error (FC V3)
Replies: 12
Views: 8806

Re: Compiler Error (FC V3)

David, I finally found it! Right at the beginning of the program where the variables get initialised, there was the MOD function (I'm not even sure why it was there! It was acting on a value read from the EEPROM) As you suggested, a couple of MOD functions also appear in a timer overflow interrupt l...
by sptcarl
Wed Jun 15, 2011 10:30 am
Forum: Flowcode V2 & V3
Topic: Compiler Error (FC V3)
Replies: 12
Views: 8806

Re: Compiler Error (FC V3)

Hi David, Thanks for your reply. I may be being a bit thick here, I assume you mean something like the same calculation being performed in main as in the interrupt? Trouble is, there is nothing like that in my program! I still cant see this being what is causing the B0 interrupt to be active continu...
by sptcarl
Mon Jun 13, 2011 4:07 pm
Forum: Flowcode V2 & V3
Topic: Compiler Error (FC V3)
Replies: 12
Views: 8806

Compiler Error (FC V3)

Can anyone suggest where I need to be looking to rectify the error message?.. Serious Warning: Possible sw stack corruption, function '__rem_8_8' called by more than one asynchronous thread (main/Task, interrupt, interrupt low) I have ignored it in the past and all seemed to work ok. I have now noti...
by sptcarl
Fri Jan 21, 2011 11:24 am
Forum: Flowcode V2 & V3
Topic: Bubble Sort?
Replies: 11
Views: 11796

Re: Bubble Sort?

Cheers Martin, you're a star. (Nicolas too)
Had a quick look over it and all looks great.
I shall study it later when I've got a bit more time, and let you know.

Thanks again,
Carl.
by sptcarl
Thu Jan 20, 2011 7:25 pm
Forum: Flowcode V2 & V3
Topic: Bubble Sort?
Replies: 11
Views: 11796

Re: Bubble Sort?

Sorry for not replying sooner guys, I've been away on business to Paris. OK, I shall try and explain what I am trying to do... I am the electronic designer at the company that makes the fairground/amusement park game where a group of players compete against each other by rolling balls into holes to ...
by sptcarl
Sat Jan 15, 2011 10:29 pm
Forum: Flowcode V2 & V3
Topic: Bubble Sort?
Replies: 11
Views: 11796

Re: Bubble Sort?

Sorry mate, I think it's me, I'm terrible at explaining things! We are getting closer, we are getting the index numbers, but like you say, the result always be 11, 10 and 9. From your last example the result I need is: FIRST = 4 SECOND = 2 THIRD = 9 i.e. the index numbers belonging to the scores wit...
by sptcarl
Sat Jan 15, 2011 7:34 pm
Forum: Flowcode V2 & V3
Topic: Bubble Sort?
Replies: 11
Views: 11796

Re: Bubble Sort?

Hey medelec, thanks for taking the time and trouble to look into this for me. I'm not sure how to say this though, but it's not quite what I'm after! It works fantastically to produce the top 3 highest score values, but it's the index numbers related to the score values that I need to equal the vari...
by sptcarl
Wed Jan 12, 2011 12:25 am
Forum: Flowcode V2 & V3
Topic: Bubble Sort?
Replies: 11
Views: 11796

Bubble Sort?

I am working on a project that involves collecting the number of points scored on 12 individual devices. (A sort of amusement game) So, I shall set up the hardware and software to scan the devices and read the SCORE values. I have an array of the 12 variables, (SCORE [0] to SCORE [11]) these will ho...
by sptcarl
Thu Oct 21, 2010 9:02 pm
Forum: General / Misc
Topic: RB0 Interrupt on a PIC16f887
Replies: 3
Views: 8165

Re: RB0 Interrupt on a PIC16f887

Problem solved! It was a faulty RB0 pin! I was so adamant that it was due to a change I made in the program, I completely overlooked the obvious solution of writing a simple program to test the device! I feel rather stupid now! I guess thats what 21 years of designing, making, and fault finding anus...
by sptcarl
Tue Oct 19, 2010 8:04 pm
Forum: General / Misc
Topic: RB0 Interrupt on a PIC16f887
Replies: 3
Views: 8165

Re: RB0 Interrupt on a PIC16f887

Hey medelec35, thanks for the suggestions,( and taking the time to reply) but I'm using master clear set as external. So I guess that wont apply to me? I will give it a go though just in case. What I don't get though, is that I wasn't getting the erase message this morning when all was working ok. I...