Open wchpikus opened 5 years ago
ok, and toolchain for esp? can i install from zip file or?
in the workload menu of the setup, just select
https://www.visualmicro.com/page/esp8266.aspx ok tnx, and this for esp
Could i import project from arduino to visual? Offcource ino to c rename..
to install the arduino sdk for ESP later via git:
unfortunatly, there is no easy way to import arduino stuido project into visual studio....you will have to create a new visual-micro project in Visual studio and copy and paste the files manually
Sure, it is no problem to copy;) I sow that is possibility to debug code,is it true? Could we talk to priv, my @ wchpikus@gmail.com. Big tnx man for help, is it hard to find someone who can and like to help with esp;)
I just sent you a mail...
to gmail? try to wchpikus@wp.pl also
i tried on ccp do this: U8G2_SSD1322_NHD_256X64_F_4W_HW_SPI *u8g2;
void init_screen(){ u8g2 = new U8G2_SSD1322_NHD_256X64_F_4W_HW_SPI u8g2(U8G2_R0, / cs=/ 15, / dc=/ 2, / reset=/ 5); u8g2->begin(); // use -> instead of . to access methods now } and the h file:
extern U8G2_SSD1322_NHD_256X64_F_4W_HW_SPI *u8g2; void init_screen();
and: init_screen(); in main file.. and first function u8g2.setContrast(backligth); compile error..
request for member 'setContrast' in 'u8g2', which is of pointer type 'U8G2_SSD1322_NHD_256X64_F_4W_HW_SPI*' (maybe you meant to use '->' ?)
Could you tell me hot to declare this ssd on other files in project?
u8g2 = new U8G2_SSD1322_NHD_256X64_F_4W_HW_SPI u8g2(U8G2_R0, /* cs=/ 15, / dc=/ 2, / reset=*/ 5);
I assume you meant:
u8g2 = new U8G2_SSD1322_NHD_256X64_F_4W_HW_SPI(U8G2_R0, /* cs=/ 15, / dc=/ 2, / reset=*/ 5);
U8G2_SSD1322_NHD_256X64_F_4W_HW_SPI u8g2(U8G2_R0, / cs=/ 15, / dc=/ 2, / reset=/ 5); => ok
U8G2_SSD1322_NHD_256X64_F_4W_HW_SPI(U8G2_R0, / cs=/ 15, / dc=/ 2, / reset=/ 5); =>'u8g2' was not declared in this scope after compilation for first function (u8g2.setDisplayRotation(U8G2_R2);)
esp with working wifi, www server, spiffs, socket, oled via spi. added ftp, and when transfering file esp crash. using filezilla, disconnect client when choiced transfer file (i have to connect again, wait for connection).