Search found 38 matches

by Darren.Smith
Sun Jan 29, 2012 3:44 pm
Forum: Flowcode V4
Topic: i2c
Replies: 5
Views: 4178

Re: i2c

cheers medelec35, i will give this a try later this evening, am just off out to soothe the brain with a little liquid nurishment (ie the pub)..
by Darren.Smith
Sun Jan 29, 2012 2:26 pm
Forum: Flowcode V4
Topic: i2c
Replies: 5
Views: 4178

i2c

hi guys, am still playing with thw i2c component. am now trying to read from an mcp23008 expnader ic, in doing this i have changed my ic to a 16f1826, also tried a 12f1840, the problem i am having is when i come to compile. i get a failure sspif not recognized. my question is does the i2c macro only...
by Darren.Smith
Fri Dec 16, 2011 6:39 pm
Forum: General Programming
Topic: learning to use a mcp23008 using I2C
Replies: 2
Views: 2374

Re: learning to use a mcp23008 using I2C

hi ben, you are correct, outputs do go to zero. have written code addressing each register individually which works. i did have a restart command inbetween before, which i assumed would write all the data at the final stop command.
by Darren.Smith
Fri Dec 16, 2011 2:12 pm
Forum: General Programming
Topic: learning to use a mcp23008 using I2C
Replies: 2
Views: 2374

learning to use a mcp23008 using I2C

hi guys, this may be a stupid question but gonna ask anyway, am just starting to use I2c com's with a mcp23008 expander chip. have figured out most of the basic's but am wondering if the outputs actually go low on the mcp23008 output or do they stay floating at around 2v. when i right an output to t...
by Darren.Smith
Wed Dec 07, 2011 5:44 pm
Forum: Flowcode V4
Topic: Tell us about your projects...
Replies: 29
Views: 61520

Re: Tell us about your projects...

hi all, just thought i would post what i have done and am trying to do using flowcode....... so far i have built what is known as the worlds largest floor piano as seen on blue peter with the saturdays playing on it, and also seen on strictly it takes to with all the pro dancers having a competition...
by Darren.Smith
Wed Dec 07, 2011 5:38 pm
Forum: E-blocks
Topic: eboo6 :- Programming Failed [config2]
Replies: 10
Views: 6857

Re: eboo6 :- Programming Failed [config2]

still can't get past config 2 error and get a program into The chip, tried 0x1eff has config 2 word, but still no joy
by Darren.Smith
Wed Dec 07, 2011 1:10 pm
Forum: E-blocks
Topic: eboo6 :- Programming Failed [config2]
Replies: 10
Views: 6857

Re: eboo6 :- Programming Failed [config2]

thank you kindly, this makes sense now...time to play around and make some progress....
by Darren.Smith
Wed Dec 07, 2011 12:46 pm
Forum: E-blocks
Topic: eboo6 :- Programming Failed [config2]
Replies: 10
Views: 6857

Re: eboo6 :- Programming Failed [config2]

that makes sense to me now, i will give that a try, i thought that selecting 8mhz in the view options of flowcode would set the internal oscillator frequency, i am guessing that is for the simulation of flowcharts and not the setup of the chip and i will need to put a c block at the beginning of the...
by Darren.Smith
Wed Dec 07, 2011 11:57 am
Forum: E-blocks
Topic: eboo6 :- Programming Failed [config2]
Replies: 10
Views: 6857

Re: eboo6 :- Programming Failed [config2]

morning steve, have just tried a new 16f1826-i/p, have set chip to run on internal with a frequency of 8mhz, in chip config everything is disabled except for mclr function, hence the checksum's i posted previous. can auto detect ic in expert config. just tried sending basic program of flashing b1 on...
by Darren.Smith
Wed Dec 07, 2011 12:43 am
Forum: Flowcode V2 & V3
Topic: Let Us Know What You Are Doing With Flowcode
Replies: 42
Views: 88393

Re: Let Us Know What You Are Doing With Flowcode

hi all, just thought i would post what i have done and am trying to do using flowcode....... so far i have built what is known as the worlds largest floor piano as seen on blue peter with the saturdays playing on it, and also seen on strictly it takes to with all the pro dancers having a competition...
by Darren.Smith
Tue Dec 06, 2011 6:08 pm
Forum: E-blocks
Topic: eboo6 :- Programming Failed [config2]
Replies: 10
Views: 6857

Re: eboo6 :- Programming Failed [config2]

does the [config2] relate to the second word of the config settings under chip configuration?
if so the 2 values set ie:- config1 0x09e4
config2 0x1cff would seem to be correct going by the data sheet that i have.
by Darren.Smith
Mon Dec 05, 2011 12:47 pm
Forum: E-blocks
Topic: eboo6 :- Programming Failed [config2]
Replies: 10
Views: 6857

Re: eboo6 :- Programming Failed [config2]

thank you for the quick reply, had not noticed the new topic so thank you for the link...

cheers
dazza
by Darren.Smith
Sun Dec 04, 2011 1:26 pm
Forum: E-blocks
Topic: eboo6 :- Programming Failed [config2]
Replies: 10
Views: 6857

eboo6 :- Programming Failed [config2]

hi guys, need some help, having problems in programming a 16f1826, i know this is not the most common of pic's, but decided to use it for cost over the 16f88, also it has m'touch capability but will get to that later. back to the 16f1826, the problem i am having is i always get the error programming...