Skip to content

Commit

Permalink
Added segment mapper function
Browse files Browse the repository at this point in the history
  • Loading branch information
atc1441 authored Oct 24, 2021
1 parent d6f00ce commit 7159de8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ATC_Thermometer/cmd_parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,7 @@ void cmd_parser(void * p){
humi_alarm_point = req->dat[1];//Set humi alarm point
if(humi_alarm_point==0)humi_alarm_point = 1;
if(humi_alarm_point>50)humi_alarm_point = 50;
}else if(inData == 0xDD){// Set display segments directly
send_to_lcd(req->dat[1],req->dat[2],req->dat[3],req->dat[4],req->dat[5],req->dat[6]);
}
}

0 comments on commit 7159de8

Please sign in to comment.