Computer Science, asked by isarp924, 2 days ago

Problem Statement:
Part A
You are getting 2 streams of temperature data at serial UART.
Each varying from 0 to 100.
For a threshold of say 50 you have to serially send 1 or 0 once if it is higher or lower than the
threshold respectively.
Ex. If stream data is
00
00
70
80
30
20
00
Output should be
0
1
0
1
Program should be processing real time input streams of temperature data.
Note you won't be using any sensor for data it would be provided to you serially on UART.
Part B.
For every 30 seconds the program should make a JSON consisting of 3 tags.
1st tag will indicate any constant name for the device.
2nd tag will consist of time from the start of the program.
3rd tag will consist of another tag having all the output streams in it with an individual name
assigned to every output.
flow​

Answers

Answered by direshtripathy25
3

Answer:

g cycyfyyfcyfgxgiifoxigxhoxhoofhcofjcyvucucydhfhc

Similar questions