Hi all
I have an issue with Flowcode and Eblocks 2 . Flow code in simulation only and debugger works perfectly. Flow code compiles to target fine . once compiled push switches etc are not read and the inputs are high regardless of switch presses . outputs however are fine leds , lcds etc work ok
Drivers seem ok
For Reference this is the arduino shield Bl0055 , on ports B and D, also tried Analogue port C in desperation with no luck.
the arduino driver seems fine , the usb is connected to a com port ok , i've tried various settings of Bl0055 and arduino uno R3 PDIP in both new project and Project options
any help would be great
EBLOCKS 2 Arduino shield bl0055 not reading inputs
-
- Posts: 5
- http://meble-kuchenne.info.pl
- Joined: Tue Dec 13, 2022 3:39 pm
- Been thanked: 1 time
-
- Matrix Staff
- Posts: 1472
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 204 times
- Been thanked: 349 times
Re: EBLOCKS 2 Arduino shield bl0055 not reading inputs
Please post your project and someone will have a look.
-
- Posts: 5
- Joined: Tue Dec 13, 2022 3:39 pm
- Been thanked: 1 time
Re: EBLOCKS 2 Arduino shield bl0055 not reading inputs
i've enclosed project showing the problem , this affects all or machines using flow code
thank you for your attention
thank you for your attention
- Attachments
-
- Eblocks 2 BL0055 Arduino shield not reading inputs.pdf
- explanation of problem
- (583.49 KiB) Downloaded 243 times
-
- Flowcodepb.fcfx
- project
- (9.27 KiB) Downloaded 423 times
-
- Posts: 5
- Joined: Tue Dec 13, 2022 3:39 pm
- Been thanked: 1 time
Re: EBLOCKS 2 Arduino shield bl0055 not reading inputs
hi thanks ive tried that but ill certainly give it another go
-
- Matrix Staff
- Posts: 1924
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 623 times
- Been thanked: 645 times
Re: EBLOCKS 2 Arduino shield bl0055 not reading inputs
Hello.
D0 and D1 are used for serial communication.
They are hardwired to the Rx and TX of an ATMEGA16U2 via 1K resistors,
The boot loader will enable the UART by default, which takes over D0 & D1
For that reason, D0 and D1 will remain high.
Can you try changing D0 to D2?
I have also tried your project with A0 as the input and it's working for me.
D0 and D1 are used for serial communication.
They are hardwired to the Rx and TX of an ATMEGA16U2 via 1K resistors,
The boot loader will enable the UART by default, which takes over D0 & D1
For that reason, D0 and D1 will remain high.
Can you try changing D0 to D2?
I have also tried your project with A0 as the input and it's working for me.
Martin
-
- Posts: 5
- Joined: Tue Dec 13, 2022 3:39 pm
- Been thanked: 1 time
Re: EBLOCKS 2 Arduino shield bl0055 not reading inputs
thanks Martin i will try this tonight , although i did try reading the whole port a few times , ill give the c port a try too
and thanks for the prompt reply
and thanks for the prompt reply
-
- Posts: 5
- Joined: Tue Dec 13, 2022 3:39 pm
- Been thanked: 1 time
Re: EBLOCKS 2 Arduino shield bl0055 not reading inputs
Thanks Martin
that seems to work fine , switches on Port C , Led's on D port and ignore D0,D1
phew
Don
that seems to work fine , switches on Port C , Led's on D port and ignore D0,D1
phew
Don