Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 4923

Arduino 74HC595/Seven Segment Display - Leading zeros and negative numbers issue.

$
0
0
Greetings,
Recently, I attempted to build an Arduino based temperature probe using a DS18B20 thermal probe. The output is a multiplexed 74HC595 used to drive 4 seven segment displays. The build works but, it is not able to read negative temps. In the code, I was able to move the decimal point over to read only tenths (000.0) instead of including hundredths (00.00) but I haven't been able to successful remove the leading zeros. Attempts at using a mask bits have been unsuccessful. I have...

Arduino 74HC595/Seven Segment Display - Leading zeros and negative numbers issue.

Viewing all articles
Browse latest Browse all 4923

Trending Articles