These are chat archives for SmingHub/Sming

26th
Oct 2015
Murli Shenoy
@hmms
Oct 26 2015 00:04
blob
a sming noob here, i was trying to port the adafruit HTU21DF to Sming..... https://github.com/adafruit/Adafruit_HTU21DF_Library. i tried removing the constructors in the arduino library since its compiled with -fno-rtti
i'm getting linker errors.
anyone here having experience porting arduino libraries to sming? any good references?
alonewolfx2
@alonewolfx2
Oct 26 2015 05:40
@hmms i ported a couple libraries from arduino. like adafruit_pcd8544 adafruit_ili9341. you can look that libraries
propably you forgot some definition
zhivko
@zhivko
Oct 26 2015 07:16
Hi guys!
I found solution for controlling 4 steppers - I needed 8 digital outputs to do that.... I found out that if I use GPIO15, esp12 would not restart (pressing on reset button), I left GPIO15, and move it to GPIO5 instead - and now it is working.
I have 10k resistor on GPIO15 to GND.
If anybody knows way to overcome this issue and still be able to use GPIO15 it would be nice to know what is real cause of this.
Dmitry Kireev
@kireevco
Oct 26 2015 07:31
…still struggling with esp-open-sdk on windows, that’s a bitch...
ADiea
@ADiea
Oct 26 2015 07:51
hi guys, cming back after ~1 mo, lots have changed here.. SmingHub is now owner on sming master?
Richard Antony Burton
@raburton
Oct 26 2015 08:10
@alonewolfx2 i'm using uart 1 for output in sming with the rgbww led controller (because that's how it's wired)
alonewolfx2
@alonewolfx2
Oct 26 2015 08:41
gpio15 is bootselect pin for sd or flash. it must be low for spiflash boot. if your circuit provide high on boot , esp8266 cant boot
@raburton uart1 and uart0 or just uart1?
and can we use both uarts like Serial1 Serial2?
zhivko
@zhivko
Oct 26 2015 09:49
What is shortest time interval that we are able to measure with esp12 ?
Is it nanosecond or picosecond range ?
is it 6ns ?
crosofg
@crosofg
Oct 26 2015 11:18
Hi all, What can I do to ensure that ESP connects instantly to wifi upon reboot?
hreintke
@hreintke
Oct 26 2015 11:25
@crosofg : reboot after reset or deep sleep ?
Dmitry Kireev
@kireevco
Oct 26 2015 11:38
If anyone can find source build script for esp arduino ide please ping me
hreintke
@hreintke
Oct 26 2015 11:53
@kireevco : I think you should ask this on the esp8266/Arduino gitter/chat
crosofg
@crosofg
Oct 26 2015 12:15
@hreintke after deep sleep
hreintke
@hreintke
Oct 26 2015 12:50
This message was deleted
@crosofg :
Deepsleep options are described in SDK programming guide chapt 3.8 & 3.9
Definition in sming is in \Sming\SmingCore\Platform\System.h
Dmitry Kireev
@kireevco
Oct 26 2015 16:35
@hreintke I feel like no one will be able to give me that, but let's try
alon24
@alon24
Oct 26 2015 17:23
which GPIO is how pwm?
hw pwm , gpios
Tomáš Procházka
@tprochazka
Oct 26 2015 18:29
Nextion display looks great, thanks you for information about it.
Btw. There are also 16MB flash model :-) http://www.itead.cc/display/nextion/nextion-nx4832t035.html
Dmitry Kireev
@kireevco
Oct 26 2015 18:54
@tprochazka OMG. 16M...
pretty cheap too
zhivko
@zhivko
Oct 26 2015 18:58
hey guys anybody here?
Dmitry Kireev
@kireevco
Oct 26 2015 18:58
@zhivko Hi
zhivko
@zhivko
Oct 26 2015 18:58
I noticed we moved to new room chating about Sming...
Is alonewolfx2/Sming still active?
Dmitry Kireev
@kireevco
Oct 26 2015 18:59
@zhivko no point of keeping it active
zhivko
@zhivko
Oct 26 2015 18:59
I miss some information from there...
Dmitry Kireev
@kireevco
Oct 26 2015 18:59
this one has a nice name and an icon :)
zhivko
@zhivko
Oct 26 2015 18:59
you know I remember I had a problem flashing the device....
the solution was to modify esptool.py - namely changing
    ESP_RAM_BLOCK   = 0x1800
    ESP_FLASH_BLOCK = 0x400
But now I swapped serial module from FTDI232 to Silabs CP2102 and I could move values back to normal...
I wondered that maybe this information could be usefull to somebody...
@kireevco agree

maybe somebody knows what is the cause of:

termios.error: (25, 'Inappropriate ioctl for device')

after flashing device (I'm on linux)