Matej
  • Member for 3 years, 1 month
  • Last seen more than a month ago
  • Czech Republic
How to trigger NodeMCU sketch from Arduino Leonardo Micro Pro?
Accepted answer
2 votes

HW part: It's like button, simply connect arduino micro pin to nodeMCU pin and GND of arduino to GND of nodeMCU. It's also good idea to use two resistors as voltage divider because arduino micro works ...

View answer
LCD shows output without pressing the sensor
1 votes

First off I edited indentation in your code because incorrect indentation is little bit confusing. #include <LiquidCrystal.h> LiquidCrystal lcd(13,12,11,10,9,8); #define vibrate_sense 7 char ...

View answer
Using pushbutton to make Stepper motor rotate 90 degrees
Accepted answer
0 votes

I edtied few things in your code. I am not sure if LOW value is correct, so I replaced it with HIGH. Second thing is timing. I removed all delay() functions instead of it you can see usage of millis()....

View answer
How to use millis instead of delay on Arduino for independent time intervals for two output pins
0 votes

Here is the code for changing pin value without delay. Read it and try it. #define on 2 #define off 3 //delay times const unsigned int ont = {1500, 500}; const unsigned int offt = {500, 300}; //...

View answer
please help with my arduino
Accepted answer
0 votes

So why you don't just ignore it? if(directionN >= 32){ //check if char is readable ascii character Serial.print("direction is:"); Serial.println(directioN); }

View answer
Button for Delay Select
0 votes

Do not use delay but millis(). Example: #define BTN 2 #define MAX_MODE 1 //2 modes const unsigned int times[] = {1000, 2000}; unsigned int time = times[0]; unsigned long btn_tm = 0; unsigned ...

View answer
Combining code for multiple sensors in a single program
Accepted answer
0 votes

All things before void setup() put before one setup() function. All things in void setup() put to the one void setup() - do not duplicate things like #include or Serial.begin(). And things from loop() ...

View answer