diff --git a/.gitignore b/.gitignore index 10def43f9..720a1e7dd 100644 --- a/.gitignore +++ b/.gitignore @@ -24,8 +24,12 @@ nfd_d.lib /sim_lastPublish_long.txt /sim_lastPublishes.txt /sim_lastPublish.txt +/lastHTTPPacket.txt /lastMQTTPublishSentByOBK.txt *.sln # MacOS ignores .DS_Store + +# MSVC +enc_temp_folder/** diff --git a/openBeken_win32_mvsc2017.vcxproj b/openBeken_win32_mvsc2017.vcxproj index 661cbe62a..febf28e92 100644 --- a/openBeken_win32_mvsc2017.vcxproj +++ b/openBeken_win32_mvsc2017.vcxproj @@ -1058,6 +1058,7 @@ + diff --git a/openBeken_win32_mvsc2017.vcxproj.filters b/openBeken_win32_mvsc2017.vcxproj.filters index fd179ae99..c16202c6f 100644 --- a/openBeken_win32_mvsc2017.vcxproj.filters +++ b/openBeken_win32_mvsc2017.vcxproj.filters @@ -1276,6 +1276,9 @@ Drv + + Drv + diff --git a/src/driver/drv_ht16k33.c b/src/driver/drv_ht16k33.c index af28e7673..46b273665 100644 --- a/src/driver/drv_ht16k33.c +++ b/src/driver/drv_ht16k33.c @@ -46,6 +46,7 @@ void HT16K33_displayOn() // 10 04 // 08 // +#if 0 static const uint8_t charMap7seg[] = { 0x3F, // 0 @@ -69,7 +70,7 @@ static const uint8_t charMap7seg[] = { 0x61, // TOP_C 0x63, // degree ° }; - +#endif unsigned short convert16seg(char c) { unsigned short c2; diff --git a/src/driver/drv_kp18068.c b/src/driver/drv_kp18068.c index 79eadab06..455c184bc 100644 --- a/src/driver/drv_kp18068.c +++ b/src/driver/drv_kp18068.c @@ -41,8 +41,8 @@ void KP18068_Write(float *rgbcw) { // KP18068_RGBCW FF00000000 void KP18068_Init() { - g_softI2C.pin_clk = 1111; - g_softI2C.pin_data = 111111111; + g_softI2C.pin_clk = 26; + g_softI2C.pin_data = 24; //g_softI2C.pin_clk = PIN_FindPinIndexForRole(IOR_KP18068_CLK, g_softI2C.pin_clk); //g_softI2C.pin_data = PIN_FindPinIndexForRole(IOR_KP18068_DAT, g_softI2C.pin_data);