
not working combination lcd/ds1820
Dependencies: mbed LCD_DISCO_F746NG BSP_DISCO_F746NG DS1820
Revision 7:90776a68cc64, committed 2020-04-14
- Comitter:
- kopk
- Date:
- Tue Apr 14 17:36:42 2020 +0000
- Parent:
- 6:ba8f89d2098b
- Commit message:
- problem with display upon activating dsprobe.
Changed in this revision
diff -r ba8f89d2098b -r 90776a68cc64 BSP_DISCO_F746NG.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/BSP_DISCO_F746NG.lib Tue Apr 14 17:36:42 2020 +0000 @@ -0,0 +1,1 @@ +https://mbed.org/teams/ST/code/BSP_DISCO_F746NG/#1050c589b2ad
diff -r ba8f89d2098b -r 90776a68cc64 LCD_DISCO_F746NG.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/LCD_DISCO_F746NG.lib Tue Apr 14 17:36:42 2020 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/teams/ST/code/LCD_DISCO_F746NG/#d44525b1de98
diff -r ba8f89d2098b -r 90776a68cc64 main.cpp --- a/main.cpp Thu Nov 23 08:27:26 2017 +0000 +++ b/main.cpp Tue Apr 14 17:36:42 2020 +0000 @@ -1,11 +1,17 @@ #include "mbed.h" #include "DS1820.h" - +#include "stm32746g_discovery_lcd.h" + + DS1820 probeInt(A0); DS1820 probeExt(A1); Timer t; int main() { + BSP_LCD_Init(); + BSP_LCD_LayerDefaultInit(LTDC_ACTIVE_LAYER, LCD_FB_START_ADDRESS); + BSP_LCD_SelectLayer(LTDC_ACTIVE_LAYER); + probeInt.unassignedProbe(A0); probeExt.unassignedProbe(A1);