These are chat archives for SmingHub/Sming

28th
Dec 2015
Dmitry Kireev
@kireevco
Dec 28 2015 02:03
kinda empty here
kireevco @kireevco feels saad
Dmitry Kireev
@kireevco
Dec 28 2015 02:04
no fun any more.
laurentppol
@laurentppol
Dec 28 2015 02:06
how do I change I2C pins for "LiquidCrystal" library?
i want to use GPIO2 (LED on NodeMCU) as LED, and GPIO4 as I2C instead of GPIO2
alonewolfx2
@alonewolfx2
Dec 28 2015 07:09
Wire. pins(x, y) before wire. Begin
Dmitry Kireev
@kireevco
Dec 28 2015 07:23
anyone worked with waveshare sound sensor?
laurentppol
@laurentppol
Dec 28 2015 10:27
@alonewolfx2 look at the LiquidCrystal_HD44780 example, there is NO Wire.pins() invocation. Only "LiquidCrystal_I2C lcd(...)" for init. If I try Wire.pins(..) BEFORE this, compiler answers "Wire does not name a type".
#include <Libraries/LiquidCrystal/LiquidCrystal_I2C.h>
//#include <Libraries/LiquidCrystal/LiquidCrystal.h>

#define I2C_LCD_ADDR 0x27
//TwoWire               TwoWire_bus(I2C_SCL, I2C_SDA);
Wire.pins(I2C_SCL, I2C_SDA);

LiquidCrystal_I2C lcd(I2C_LCD_ADDR, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE);
if I declare "TwoWire_bus(...)" program compiles, but pins remains DEFAULT (0,2).
What should I do?
marksev1
@marksev1
Dec 28 2015 21:02
guys so this Sming, is it like a library for Arduino IDE (to use it with esp8266)? I don't quite understand it.
Dmitry Kireev
@kireevco
Dec 28 2015 21:05
@marksev1 hehe
it's another framework
marksev1
@marksev1
Dec 28 2015 21:09
so its like a set of libraries and stuff, so i could compile a "sketch" in arduino ide?
Dmitry Kireev
@kireevco
Dec 28 2015 21:10
You don't use arduino ide, you use your own ide (eclipse)?
(@marksev1 )
@marksev1 would you rather use arduino ide or eclipse?
laurentppol
@laurentppol
Dec 28 2015 23:20
No one to help me?
Dmitry Kireev
@kireevco
Dec 28 2015 23:23
I think community is on vacation.