I try to use mblock 5 with arduino, but I don’t find a block for reading a value on a digital pin
(I know there is one for reading Analog pin)
digitalRead
Hi Cyril71,
I am afraid there is no much blocks for non-makeblock boards like Arduino uno board and here we just have some basic blocks for them. Users who use these boards may also use Python or Arduino IDE to program.
Good afternoon! With mBlock 5 it is a problem. digitalRead is - it is the most upper option where you wrote “prise logique”. But even it will not help. In mBlock 5 function of data exchange with Sprite is badly adjusted therefore to look at value of port it will not turn out. I use mBlock 3. This problem is not there. Just I create a variable and I write in it digitalRead.
Hello myagkiy_007,
As we have other colleagues tested the blocks with Arduino uno board, would you please give us the exact codes, and issue phenomenon? I’ll check with them.
Yes. How to read data from input ports? In mBlock v3 there are no problems with this. In mBlock v5 it does not work.