slow (group 8) ayush johari varun bansal randall hintz chanon sujjapong

4
SLOW (Group 8) Ayush Johari Varun Bansal Randall Hintz Chanon Sujjapong

Upload: alfred-wilkins

Post on 13-Dec-2015

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: SLOW (Group 8) Ayush Johari Varun Bansal Randall Hintz Chanon Sujjapong

SLOW (Group 8)

Ayush Johari

Varun Bansal

Randall Hintz

Chanon Sujjapong

Page 2: SLOW (Group 8) Ayush Johari Varun Bansal Randall Hintz Chanon Sujjapong

Main FlowchartStart

Initialization routines

Clear panel

Retrieve display config from flash

Is it in message mode?

Is it in time mode?

Retrieve time Get temperature from sensor

Decode and display

Continue next page

Is flash empty?

1 2

YesNo

No

Yes

No

Yes

3

Page 3: SLOW (Group 8) Ayush Johari Varun Bansal Randall Hintz Chanon Sujjapong

Main Flowchart (cont.)

Retrieve display config from web server

Is it in message mode?

Is display config different from

flash

Save new info onto flash

From previous page

Scroll text

1 2

Yes

No

Yes

No

3

Did user set new time on the web

server?

Yes

No

Update time in timer module

Page 4: SLOW (Group 8) Ayush Johari Varun Bansal Randall Hintz Chanon Sujjapong

Code Module Hierarchical Diagram

Check_Flash()

MAIN

Message_mode()Init()

Timer_init()

Temp_init()

Web_init()

RTI_init()

Reset_panel()

Time_mode() Temp_mode()

Web_server()

Write_Flash()

Update_time()

Decode()

Display() Table_lookup()

Scroll_text()