sensor connections

For E-blocks user to discuss using E-blocks and programming for them.

Moderators: Benj, Mods

Post Reply
RobOnk
Posts: 37
Joined: Mon Jan 11, 2010 12:16 am
Been thanked: 1 time

sensor connections

Post by RobOnk »

Hello, just would like to confirm that all of the sensors are compatible with the white (analog & digital) sensor inputs on the ver. 3 dev board?
Thanks, Rob

User avatar
Steve
Matrix Staff
Posts: 3434
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Re: sensor connections

Post by Steve »

All the sensors we sell are designed to work with our V3 dev board (HP488) and our Sensore E-Block.

RobOnk
Posts: 37
Joined: Mon Jan 11, 2010 12:16 am
Been thanked: 1 time

keypad macro

Post by RobOnk »

Hello,

Sorry I sometimes I don't see the "new topic" button.

Anyway, I cannot figure out why this program will not compile.
Please help. (see attached) It's a very short and simple program to display a number from the keypad to the lcd display.
It seems there's an issue with the keypad macro, it compiles fine until I add the keypad macro.

Thanks,Rob

This is the message I get.

Launching the compiler...
C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\boostc.pic16.flowcode.exe -v -t PIC16F877A "doorbell3.c"
BoostC Optimizing C Compiler Version 6.95 (for PIC16 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2009 Pavel Baranov
Copyright(C) 2004-2009 David Hobday

Licensed to FlowCode User under Single user Standard License for 1 node(s)
Limitations: PIC12,PIC16 max code size:4096 words, max RAM banks:Unlimited, Non commercial use only


doorbell3.c
Starting preprocessor: C:\PROGRA~1\MATRIX~1\FLOWCO~2\BoostC\pp.exe "C:\Documents and Settings\Rob\Desktop\robs flowfiles\doorbell3.c" -i C:\PROGRA~1\MATRIX~1\FLOWCO~2\BoostC\include -d _PIC16F877A -la -c2 -o "C:\Documents and Settings\Rob\Desktop\robs flowfiles\doorbell3.pp" -v -d _BOOSTC -d _PIC16


....

C:\Documents and Settings\Rob\Desktop\robs flowfiles\doorbell3.c(232): error: missing semicolon
C:\Documents and Settings\Rob\Desktop\robs flowfiles\doorbell3.c(177): error: failure

failure

Return code = 1

Flowcode was unable to compile the flowchart's C code due to the following errors:


If your flowchart contains C code, please review this carefully. If your flowchart contains no C-code or you have thoroughly reviewed the code, contact Technical Support.

FINISHED
Attachments
doorbell3.fcf
(7.5 KiB) Downloaded 328 times

User avatar
Steve
Matrix Staff
Posts: 3434
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Re: sensor connections

Post by Steve »

Please post the C code file - this will help us isolate the problem.

RobOnk
Posts: 37
Joined: Mon Jan 11, 2010 12:16 am
Been thanked: 1 time

Re: sensor connections

Post by RobOnk »

thanks
Attachments
doorbell3.c
(15.57 KiB) Downloaded 331 times

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: sensor connections

Post by Benj »

Hello,

The keypad component is disconnected and this is causing problems when compiling the C code. Select the keypad and then click the component connections button to assign a port and pins.

RobOnk
Posts: 37
Joined: Mon Jan 11, 2010 12:16 am
Been thanked: 1 time

Re: sensor connections

Post by RobOnk »

wow! that's embarrassing..
Do the columns and rows need to be connected individually?
In other words, when I connect the columns the rows remain dis-connected until I connect them to the same port.

Rob

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: sensor connections

Post by Benj »

Hello Rob,

The columns and rows have to be connected seperatley as we now allow for them to be connected to different ports. You can however connect both to the same port and that will work fine.

Post Reply