This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Establish Open/Closed Variable | |
var currentStatus = "closed"; | |
//Establish Day of Week | |
var date = new Date(); | |
function getWeekDay(date) { | |
var days = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] | |
return days[date.getDay()] | |
} | |
var day = date.getDate() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##MAP LAYOUT FOR SERIAL OUT | |
##Interval(320000)=>RSS Request(http://feeds.reuters.com/reuters/topNews)=>Function | |
Function: | |
var welcome = "Welcome to Lo Fi Coffee"; | |
var news1 = msg.rss.channel.item[0].title; | |
var news2 = msg.rss.channel.item[1].title; | |
var news3 = msg.rss.channel.item[2].title; | |
var news4 = msg.rss.channel.item[3].title; | |
var news5 = msg.rss.channel.item[4].title; |
NewerOlder