Blank display if S1820 probe enabled

kopk
Tue, 14 Apr 2020 14:09:05 +0000
Mbed OS

I am new to mbed. I started by importing the lcddemo for my 746g-disco board.
The lcd demo builds fine and display works.

After adding DS1820 libraries, if I add the line: DS1820 probe(PI_2); the display is blank.
Comment out this line and the text is displayed.

#include "mbed.h"
#include "stm32746g_discovery_lcd.h"
#include "DS1820.h"
DS1820 probe(PI_2);

8 posts - 2 participants