Search found 125 matches

by dbasnett
Tue Nov 27, 2012 10:53 pm
Forum: Flowcode V5
Topic: send/receive string macro and 0xFF, 0x00
Replies: 2
Views: 2518

Re: send/receive string macro and 0xFF, 0x00

I believe strings are terminated by a byte of 0x0. I think you will need to read the data as char.
by dbasnett
Fri Nov 23, 2012 9:59 pm
Forum: Flowcode V5
Topic: Help with code please
Replies: 17
Views: 9769

Re: Help with code please

It was close. Made a few minor changes.
by dbasnett
Wed Nov 21, 2012 11:53 pm
Forum: Flowcode V5
Topic: If Decision Fails Flowcode 5
Replies: 14
Views: 9816

Re: If Decision Fails Flowcode 5

Hello Leigh Thank you for the further information. My plan is to see if it is possible to take the single Push buttons and use the value to route directly down the Switch Value. Here is a sample flow I put together to show the flow. I tried to different formulas but it is not my forte. I had troubl...
by dbasnett
Tue Nov 20, 2012 11:21 pm
Forum: Flowcode V5
Topic: If Decision Fails Flowcode 5
Replies: 14
Views: 9816

Re: If Decision Fails Flowcode 5

If you want to check one bit (bit 7) your if should be: ($PORTA AND 128) > 0 The other bits are: ($PORTA AND 1) > 0 - bit 0 ($PORTA AND 2) > 0 - bit 1 ($PORTA AND 4) > 0 - bit 2 ($PORTA AND 8 ) > 0 - bit 3 ($PORTA AND 16) > 0 - bit 4 ($PORTA AND 32) > 0 - bit 5 ($PORTA AND 64) > 0 - bit 6 The 'AND' ...
by dbasnett
Tue Nov 20, 2012 5:58 pm
Forum: Flowcode V5
Topic: Gertboard & Flowcode (AVR Version)
Replies: 5
Views: 5225

Re: Gertboard & Flowcode (AVR Version)

From the FAQ:
"What’s the difference between Model A and Model B?

Model A has 256Mb RAM, one USB port and no Ethernet (network connection). Model B has 512Mb RAM, 2 USB port and an Ethernet port."

I am sure that John knew that. Probably a brain fart ;)
by dbasnett
Tue Nov 20, 2012 5:17 pm
Forum: Flowcode V4
Topic: Convert v4 to v5
Replies: 17
Views: 12820

Re: Convert v4 to v5

Thanks to David! A new .fcd file and all is well.
by dbasnett
Mon Nov 19, 2012 4:32 pm
Forum: Flowcode V5
Topic: Gertboard & Flowcode (AVR Version)
Replies: 5
Views: 5225

Re: Gertboard & Flowcode (AVR Version)

"Unless you have been living in some remote technologically devoid desert island for the last year you cannot have missed all the publicity and hype surrounding the release and massive popularity of the Raspberry Pi."

The island is Microsoft ;)
by dbasnett
Mon Nov 19, 2012 3:16 pm
Forum: Flowcode V5
Topic: Gertboard & Flowcode (AVR Version)
Replies: 5
Views: 5225

Re: Gertboard & Flowcode (AVR Version)

I had never heard of Raspberry Pi. That seems to be a lot of power for $25.
by dbasnett
Fri Nov 16, 2012 4:07 pm
Forum: Flowcode V4
Topic: Convert v4 to v5
Replies: 17
Views: 12820

Re: Convert v4 to v5

The part of the code is attached to one of my previous posts.
by dbasnett
Fri Nov 16, 2012 3:08 pm
Forum: Flowcode V4
Topic: Convert v4 to v5
Replies: 17
Views: 12820

Re: Convert v4 to v5

Rebooting took care of the 120 error. Now I am back to the original problem. Any ideas?
by dbasnett
Thu Nov 15, 2012 3:26 pm
Forum: Flowcode V4
Topic: Convert v4 to v5
Replies: 17
Views: 12820

Re: Convert v4 to v5

I made a new copy of the folder and now I am getting this: Launching the compiler... C:\Program Files (x86)\Flowcode\v5\Tools\boostc\boostc_pic18_flowcode.exe -v -t PIC18F4580 "TrainerTarget_v4.c" BoostC Optimizing C Compiler Version 7.04 (for PIC18 architecture) http://www.sourceboost.com Copyright...
by dbasnett
Thu Nov 15, 2012 3:13 pm
Forum: Flowcode V4
Topic: Convert v4 to v5
Replies: 17
Views: 12820

Re: Convert v4 to v5

I am so confused. I tried disabling the supplemental code but that had no affect. When I upgraded the program all I did was make a copy of the folder it was in, then open it with FC5.
by dbasnett
Wed Nov 14, 2012 5:46 pm
Forum: Flowcode V4
Topic: Convert v4 to v5
Replies: 17
Views: 12820

Re: Convert v4 to v5

Sorry. I think I did not copy the c correctly. Let me try again: //Checks a button state MX_UINT8 FCM_CheckAbutton(MX_UINT8 FCL_BUTPOW2, MX_UINT8 FCL_BUTVAL) { MX_UINT8 FCR_RETVAL; // get button state //Input: PORTB -> butRD //TRISE.PSPMODE workaround #if ('b' == 'e')   trisb = trisb | (0xFF & 0x0F...
by dbasnett
Wed Nov 14, 2012 5:04 pm
Forum: Flowcode V4
Topic: Convert v4 to v5
Replies: 17
Views: 12820

Re: Convert v4 to v5

I duplicated the macro that appears to be causing the error, and the error changed line numbers. I have attached the macro. ............. TrainerTarget_v4.c(4267): error: missing right paren TrainerTarget_v4.c(4267): error: general error TrainerTarget_v4.c(4267): error: variable name expected Traine...
by dbasnett
Wed Nov 14, 2012 4:27 pm
Forum: Flowcode V4
Topic: Convert v4 to v5
Replies: 17
Views: 12820

Re: Convert v4 to v5

Also, what do I have to do to be able to post in the V5 forum?
by dbasnett
Wed Nov 14, 2012 4:12 pm
Forum: Flowcode V4
Topic: Convert v4 to v5
Replies: 17
Views: 12820

Re: Convert v4 to v5

I am using the latest version of flowcode. Am I correct about the line number in the c code, i.e. this error message

TrainerTarget_v4.c(3823): error: missing right paren

is on line 3823 in the c code?
by dbasnett
Tue Nov 13, 2012 6:13 pm
Forum: Flowcode V4
Topic: Convert v4 to v5
Replies: 17
Views: 12820

Convert v4 to v5

I would have posted in the v5 forum but I do not have permissions... I am having a problem upgrading a program from v4 to v5. Here is the output: http://www.matrixmultimedia.com Launching the compiler... C:\Program Files (x86)\Flowcode\v5\Tools\boostc\boostc_pic18_flowcode.exe -v -t PIC18F4580 "Trai...
by dbasnett
Tue Nov 13, 2012 4:04 pm
Forum: E-blocks
Topic: Using VB with Eblocks
Replies: 5
Views: 5362

Re: Using VB with Eblocks

I thought so. Thanks for the info.
by dbasnett
Tue Nov 13, 2012 3:16 pm
Forum: E-blocks
Topic: Using VB with Eblocks
Replies: 5
Views: 5362

Re: Using VB with Eblocks

This looks like a VB6 project.
by dbasnett
Tue Nov 13, 2012 2:31 pm
Forum: E-blocks
Topic: Using VB with Eblocks
Replies: 5
Views: 5362

Re: Using VB with Eblocks

What version of .Net is this for? I am running VS2010 and the downloaded files will not open.
by dbasnett
Mon Nov 12, 2012 9:29 pm
Forum: E-blocks
Topic: Using VB with Eblocks
Replies: 5
Views: 5362

Using VB with Eblocks

I saw this listed as a resource and when I downloaded it I thought I could open it with Visual Basic .Net, but couldn't. Is there a write up?
by dbasnett
Fri Oct 19, 2012 3:18 pm
Forum: Flowcode V4
Topic: License
Replies: 1
Views: 2711

Re: License

Resolved!
by dbasnett
Fri Oct 19, 2012 3:08 pm
Forum: Flowcode V4
Topic: License
Replies: 1
Views: 2711

License

So after being away for some time I finally got around to installing the FC5 update that I purchased online from Matrix. How do I get my License key?

I emailed Nichola N. from Matrix who sent me my invoice asking the same question.
by dbasnett
Fri Jan 20, 2012 3:51 pm
Forum: Flowcode V4
Topic: Upgrade to v5
Replies: 6
Views: 4309

Re: Upgrade to v5

What if I copy the v4 file to a different location and use that. Seems like that would take care any issues. Of course there is the problem of remembering...
by dbasnett
Fri Jan 20, 2012 1:44 pm
Forum: Flowcode V4
Topic: Upgrade to v5
Replies: 6
Views: 4309

Re: Upgrade to v5

Got it. Thanks.

Will this upgrade V4 or will I have both versions available?