Search found 398 matches

by Jay Dee
Mon Mar 05, 2012 12:43 pm
Forum: MIAC
Topic: FC shutdown during MIAC and Servo Simulation
Replies: 5
Views: 5785

Re: FC shutdown during MIAC and Servo Simulation

Ooops, my bad. :)
Thanks Steve.
John
by Jay Dee
Thu Mar 01, 2012 6:45 pm
Forum: MIAC
Topic: FC shutdown during MIAC and Servo Simulation
Replies: 5
Views: 5785

Re: FC shutdown during MIAC and Servo Simulation

Thanks guys,
I've migrated to my ECIO 40 setup for the time being so no stress from this end.
John.
by Jay Dee
Wed Feb 29, 2012 8:33 pm
Forum: MIAC
Topic: FC shutdown during MIAC and Servo Simulation
Replies: 5
Views: 5785

FC shutdown during MIAC and Servo Simulation

Hi, I am playing with a MIAC and digital servo, When Itry to simulate the program shuts down without warning. I've checked through the settings and I think they are good. Also change the pin that controls the servo, same prob. does not seem to work in hardware either but only done a very quick hardw...
by Jay Dee
Sat Feb 25, 2012 4:41 pm
Forum: MIAC
Topic: CAN component settings ( CS ) and MIAC
Replies: 1
Views: 3510

CAN component settings ( CS ) and MIAC

Hi ya, I must have missed something very obvious but... I need to set the CS pin for the CAN component to work in the MIAC, the MIAC guide p.11 (MI3278) has CS on pin RD7. But the port options in the components connections menu does not list port D. What am I missing here? :? I'm using FCV5. Cheers ...
by Jay Dee
Sat Jan 28, 2012 7:33 pm
Forum: General Programming
Topic: Unique ID or Serial for 18F PICs
Replies: 1
Views: 1728

Unique ID or Serial for 18F PICs

Hi, Apologies if this has already been covered, I tried a few searches and looked through the PIC Datasheet but no clear answer as yet. I understand that the 18F series PICs can be programmed with a serial number, to be used as a device ID. From what I have found so far there is a specific memory lo...
by Jay Dee
Tue Jan 24, 2012 5:46 pm
Forum: General Programming
Topic: Dedicated ICSP pins on 18F4455 TQF
Replies: 1
Views: 2304

Dedicated ICSP pins on 18F4455 TQF

Hi all, A more experience person may be able to confirm or explain the thinking behind the following; :? If you use the TQFP package of the 18F4455 there is the option of setting dedicated ICSP/ICD pins ( TQFP only, The equivalent pins are n/c on other 44 pin packages) This looks great as it will me...
by Jay Dee
Tue Jan 24, 2012 4:19 pm
Forum: E-blocks
Topic: ECIO with gLCD EB058
Replies: 8
Views: 6747

Re: ECIO with gLCD EB058

OK cool, thanks for clearing that up Ben.
J.
by Jay Dee
Tue Jan 24, 2012 3:08 pm
Forum: E-blocks
Topic: ECIO with gLCD EB058
Replies: 8
Views: 6747

Re: ECIO with gLCD EB058

Hi, Thanks for the info about Bit Banging the data to the display, for playing on the bench this will work fine. However in an existing project I already use the hardware SPI for communicating with CAN and a TLC Led driver chip, is it possible to get the GLCD components to also work from the hardwar...
by Jay Dee
Sun Jan 22, 2012 7:49 pm
Forum: Flowcode V4
Topic: RGB LED Component
Replies: 3
Views: 3491

Re: RGB LED Component

Hi, I ran it in V5 , using ECIO 40P and using an LED board, so 3 LEDs rather than the 3+common of an RGB. I got the same 'inverted' logic you saw. Changed the polarity in the componet properties and got the expected bahaviour. But this I guess would only work with a common anode type RGB, I think :?...
by Jay Dee
Sun Jan 22, 2012 4:33 pm
Forum: E-blocks
Topic: ECIO with gLCD EB058
Replies: 8
Views: 6747

Re: ECIO with gLCD EB058

Hi, Just started to play with the ECIO 40P and an EB043 gLCD. The ECIO 40P had the SPI pins shared between both Port B and C (SDO is on Port C pin 7) but the component property screen will only allow you to select one port for all of the pins. Is there a work around for this ? Checked it in V4 and V...
by Jay Dee
Sat Jan 21, 2012 7:00 pm
Forum: Flowcode V4
Topic: V5 ADC - error during compile
Replies: 5
Views: 4578

Re: V5 ADC - error during compile

Nice one Martin!
Compiled and working on my hardware as well. No reason to stop working/play on the weekend now!
Thanks for quick reply and workaround. J.
by Jay Dee
Sat Jan 21, 2012 3:07 pm
Forum: Flowcode V4
Topic: V5 ADC - error during compile
Replies: 5
Views: 4578

V5 ADC - error during compile

Hi all, Using an ECIO 40P and just starting to play with V5 ( nice work by the way, like the new variable types and annotation features ) Tried to compile a previously working FC4 program and got an error message relating to the PIC_CAL_ADC.c Had a look at the relavent line in the C file but did not...
by Jay Dee
Sat Dec 24, 2011 3:58 pm
Forum: Flowcode V4
Topic: 24 Channel LED control with PWM, TLC5947 SPI
Replies: 1
Views: 5060

24 Channel LED control with PWM, TLC5947 SPI

Bit of a Christmas information donation. :-) I was looking at an easy way to PWM control lots of LEDs, I have tried a few of the chips in Texas TLC range and settled on the TLC5947. Under £3 from Farnell. Stuff I Like. > Uses SPI ( so I can use it on the same bus as the CAN board) > Minimal commands...
by Jay Dee
Sat Nov 05, 2011 5:36 pm
Forum: Flowcode V4
Topic: SPI Sending Stings
Replies: 7
Views: 4726

Re: SPI Sending Stings

Thanks for replies, @ JAW. Cool, the app note helps confirm some of what I'd trawled from the data sheet and interesting, that their example uses a clock pulse (for the GS) from the Texas micro, looking at the spec sheet for the micro, it has a function of its CCP/timer port that allows it to output...
by Jay Dee
Fri Nov 04, 2011 7:54 pm
Forum: Flowcode V4
Topic: SPI Sending Stings
Replies: 7
Views: 4726

Re: SPI Sending Stings

Hi, I've written a short bit of flowcode to sequentially send the data out in blocks of 8 bits, this should clock into the device quite nicely. However, whilst going through the datasheet in detail, checking the exact sequence of events needed, I realized that the TLC5941 chip also needs a reference...
by Jay Dee
Thu Nov 03, 2011 11:00 pm
Forum: General Programming
Topic: Integer Array?
Replies: 9
Views: 8550

Re: Integer Array?

Only just found this thread but just thought i'd jot a comment regarding a tech manual or indeed any other further flowcode documentation which is always desirable. The forum is really great for both help and reference but i often find myself trawling many different old threads just to find the answ...
by Jay Dee
Wed Nov 02, 2011 6:08 pm
Forum: Flowcode V4
Topic: SPI Sending Stings
Replies: 7
Views: 4726

Re: SPI Sending Stings

Texas TLC5941 - 16Ch LED driver. http://www.ti.com/product/tlc5941 Have a potential project that would use a reasonable number of LED and I'd like to be able to have PWM brightness control of each one. I know this can be done many different ways but benefits to me of the TLC5941 are, minimum compone...
by Jay Dee
Tue Nov 01, 2011 10:20 pm
Forum: Flowcode V4
Topic: SPI Sending Stings
Replies: 7
Views: 4726

SPI Sending Stings

Hi, I wish to communicate with an SPI device but it requires me to clock the data into the register as a string with a length of 192 bits. (16 x 12 bit values). The standard SPI component (for the DAC eblock) only allows the sending of characters, 8 bit integer. I should say at this point I've not b...
by Jay Dee
Sat Oct 29, 2011 7:02 pm
Forum: General Programming
Topic: Suggestions for LED Driver, SPI and PWM output?
Replies: 5
Views: 5726

Re: Suggestions for LED Driver, SPI and PWM output?

Thanks JAW, its quite a beestie. Reasonable price £2-3 from farnell and not in BGA. I've saved the datasheet and will have a proper look through later. I'd love to look more at my LED project but its just finding time...hmm. :)
by Jay Dee
Sat Oct 29, 2011 6:49 pm
Forum: Flowcode V4
Topic: Latching Momentary Switches - Example
Replies: 2
Views: 3918

Latching Momentary Switches - Example

Hi all, I wanted to have push button switches that would latch/unlatch in flow code, my result is below. It may be of use to others. Note: I've just written this whilst stuck in the hotel with work and not tested it on any hardware so use at you own risk..... :-) Also it's written for ECIO 40P since...
by Jay Dee
Sat Oct 29, 2011 3:48 pm
Forum: Flowcode 4 Suggestions
Topic: User comments in Calculations Properties Box
Replies: 1
Views: 5928

User comments in Calculations Properties Box

This may already exist in some form and anyway V5 is probably too close for more new features but... :) Ability to add comments to lines entered in the Calculations Properties box (and others?). I don't think this is currently implemented as I can't find a character that allows me to do this. For ex...
by Jay Dee
Mon Sep 26, 2011 11:24 am
Forum: General Programming
Topic: Suggestions for LED Driver, SPI and PWM output?
Replies: 5
Views: 5726

Re: Suggestions for LED Driver, SPI and PWM output?

Cheers Ben, I'll have a look at those when I get to get out of this damn airport and to the hotel. I did do a google search on much the same terms (honest :) ) but most datasheets seem to be for devices running I2C or some alternative form of serial....and I want to stick to a standard (flowcode sup...
by Jay Dee
Sun Sep 25, 2011 10:01 am
Forum: General Programming
Topic: Suggestions for LED Driver, SPI and PWM output?
Replies: 5
Views: 5726

Suggestions for LED Driver, SPI and PWM output?

Hi Guys, I've had a quick trawl in the usual places... Im looking for a multi channel LED driver chip, that provides individual PWM outputs and controlled by SPI. Most of the chips I have found are i2C but I'd prefer SPI as I use the SPI for the CAN module. A 16 channel chip with individual 8 bit PW...
by Jay Dee
Tue Sep 20, 2011 9:52 am
Forum: Flowcode V4
Topic: Slave USB Questions
Replies: 1
Views: 2352

Slave USB Questions

Hi guys, I've been playing with VB6 and flowcode and have a nice little Slave USB setup but would appreciate if anyone can confirm a couple of points. Using an ECIO 40P VB6 A) ECIO_OPEN, the return 'status' value is 0 for a successful connection? Not specified in the help but seems to be this way. F...
by Jay Dee
Sat Aug 20, 2011 7:07 pm
Forum: Flowcode V4
Topic: CAN Messaging and CAN Buffers
Replies: 2
Views: 2065

Re: CAN Messaging and CAN Buffers

Hi Sean, Yep I'm using the CAN E-Block. Thanks for outlining the way the buffers are loaded, I now know that I can read the 'Compound ID' byte and reliably return to the software buffer to extract the other 7 data bytes which is great. Having read your description and a bit more from the CAN control...