Hello,
i bought that arduino called NHduino, NHduino - YouTube
i connect the LCD I2C based on that code and picture
#include <LCD.h>
#include <LiquidCrystal_I2C.h>
#include <Wire.h>
LiquidCrystal_I2C lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE);
Now the LCD works fine but not the INT0
i have that code and it does not show me anything correct... just stange big numbers
any idea?
{
//for tacho---------------------------------------------------
attachInterrupt(sensorInterrupt, sensorIsr, RISING);
lastPulseTime = millis();
timeoutCounter = 0;
}
}
void sensorIsr()
{
unsigned long now = millis();
interval = now - lastPulseTime;
lastPulseTime = now;
timeoutCounter = timeoutValue;
startTime = millis(); //save the time the tacho was read
}