Search found 11 matches

by gmwow
Sat Nov 29, 2014 11:08 pm
Forum: Flowcode V6
Topic: What am I doing wrong?
Replies: 8
Views: 4988

Re: What am I doing wrong?

Ok. I see it. I fixed that and still nothing. Though don't I need to address the two ports separately? IODIRA and IODIRB? Is this one more like what you were saying? Port Expansion Test v3.fcfx I'm trying to set port A as output and port B as input. I have some push button switches attached to port ...
by gmwow
Sat Nov 29, 2014 5:15 am
Forum: Programming Tips & Tricks
Topic: I/O expansion
Replies: 37
Views: 56497

Re: I/O expansion

Hi. I know this is an old thread but I'm trying to do this very same thing with a pic18f46k20 and the mcp23s17 and I just can't get it to work using Flowcode 6. Could you upload a version 6 working example of this?

Thank you.
by gmwow
Sat Nov 29, 2014 12:18 am
Forum: Flowcode V6
Topic: What am I doing wrong?
Replies: 8
Views: 4988

Re: What am I doing wrong?

Sorry for the late reply, and thank you for the help kersing. It's been a holiday week here in the states so not much time to get any work done. I must have posted the version that I had been fiddling with and left the icons disabled, sorry about that. It doesn't work with them enabled either. You s...
by gmwow
Mon Nov 24, 2014 5:37 pm
Forum: Flowcode V6
Topic: What am I doing wrong?
Replies: 8
Views: 4988

Re: What am I doing wrong?

Ok. My o-scope is old and having a bad day but I verified that there is activity on mosi but nothing on miso. I've tried a different mcp23s17 chip so I don't think it's that. The spi slave isn't listening because my program in the PIC isn't talking to it correctly. But What am I doing wrong? I feel ...
by gmwow
Sun Nov 23, 2014 6:40 pm
Forum: Flowcode V6
Topic: What am I doing wrong?
Replies: 8
Views: 4988

What am I doing wrong?

Hi. Just trying to get SPI working between a pic18f46k20 and a mcp23s17. Right now it's just a simple test program but I just can't get anything to work. I had tried a test program from a forum post on here that was for Flowcode v5 but it didn't work either. The program I'm currently fiddling with i...
by gmwow
Fri Nov 21, 2014 6:07 am
Forum: Flowcode V6
Topic: SPI Slave on a PIC16f887?
Replies: 4
Views: 3246

Re: SPI Slave on a PIC16f887?

Ok. So I have to manually implement CS and INT. No worries about that then.

On to the other issue then. Does anyone have a version of the Webserver component I can use that will let me set the MAC, gateway, and IP from data pulled from an SD file?
by gmwow
Thu Nov 20, 2014 8:32 pm
Forum: Flowcode V6
Topic: SPI Slave on a PIC16f887?
Replies: 4
Views: 3246

Re: SPI Slave on a PIC16f887?

I2C slave could have worked and I'll keep it noted for the next project but my engineer and I came to an epiphany about our project yesterday after I posted this. We're altering the design to use several SPI I/O port expanders instead of slave PICs. I do now have a question about those though. In th...
by gmwow
Wed Nov 19, 2014 8:27 pm
Forum: Flowcode V6
Topic: SPI Slave on a PIC16f887?
Replies: 4
Views: 3246

SPI Slave on a PIC16f887?

I'm working on a web connected audio switching device that is going to use SPI communication between a pic18f46k20 which runs a wiz5100 for the web, an SD card for website storage and some configuration files, and four slave pic16f887s that run the front panel button interfaces and control the audio...
by gmwow
Thu Nov 13, 2014 12:10 pm
Forum: Flowcode V6
Topic: How do I directly change variables on my PIC via HTML?
Replies: 3
Views: 2666

Re: How do I directly change variables on my PIC via HTML?

Another question for you, if I may. Using the Webserver component SetOutValue and GetInValue both use an index with a limit of 4. Do they use the same index and is there a way to increase it past 4? If possible how large can the index be increased? I apologize if these are stupid questions. I have v...
by gmwow
Thu Nov 13, 2014 9:35 am
Forum: Flowcode V6
Topic: How do I directly change variables on my PIC via HTML?
Replies: 3
Views: 2666

Re: How do I directly change variables on my PIC via HTML?

Thanks Ben! You got me pointed in the right direction.
by gmwow
Wed Nov 12, 2014 7:05 am
Forum: Flowcode V6
Topic: How do I directly change variables on my PIC via HTML?
Replies: 3
Views: 2666

How do I directly change variables on my PIC via HTML?

Greetings Flowcoders. I have been lurking on here for several weeks trying to figure out exactly how I write a web page for a micro controller project I've been working on and have yet to find a working example of a web page I can extrapolate into what I need. I need to be able to change values of v...