Posts

Showing posts from 2016

Android App Control RGB LED w/ color Sliders

Image
If you haven't seen my previous Arduino + Bluetooth + RGB LED tutorials, please check them out from here, before you start this one. -  Tutorial 1  Make the Arduino + Bluetooth + RGB LED -  Tutorial 2  Make this App (older version) -  Tutorial 3  Make a nigh lamp In this tutorial, I will add RGB slider bar under the bottom of the App using App Inventor 2  (AI2) from MIT to allow users to adjust the particular LED brightness. This feature was requested by quite few of visitors. Hope you will enjoy this one! For whatever reasons you do not want to do this yourself, please download this App from Google Play Store directly. It's FREE! Screenshot of RGB LED Controller: Here is screenshot of the component layout in App Inventor 2 for your reference. First, let's initialize few variables in AI2. Screen1.Initialize block is to reset App components status and set ColorPicked at x1, y1. The ColorPicked variable is used to store x1, y1 coordinates which are e

2016-05 優惠酷航訂票 $8,000元有找 (How to book Flyscoot LCC tickets at a lower fare)

Image
這次四個人的機票總計付了  $30,140 元,平均一人 $7,535元 ,$8,000元有找! 在暑假期間, 能訂到這樣的價格,很滿意!我的下一個任務就是找住的地方了! 市面上有好多廉價航空,香草,樂桃,AirAsia....看到酷航是沒坐過的波音 787 ,就決定訂這家吧。 這是原先看到國泰世信用卡優惠如下: 心想這看來不錯,想要趕快訂票,不過兒子的護照沒在身邊,怕英文名字拼音打錯,要改的話就很麻煩了(聽說廉價改名字/日期 都是非常的貴,很多網友都建議重新買算了)。 沒想到等了一天之後,信用卡的優惠突然週三購票回程半價不能使用了,不知道是不是優惠名額用完了還是怎麼了...真是有點不甘心... 於是我用 Google search "Flyscoot Promo Code", 還真的讓我找到了 2016  母親節的促銷代碼! GOMUMGO 可以有 75折的折扣 ,不無小補! 我找到的是英文的網頁,不過網站右上角有個語言選項,把 English 下拉,改成繁體中文就行了! 改成繁體中文後,依右方點選單程/來回/多城市,接下來是出發地點和目的地,選定日期,人數,最後記得在搜尋的左側那裡輸入促銷代碼,再按下搜尋即可! 先是選擇航班; $3,048 價格標了紅色 的日期就是你剛剛選的日期。如果想要換日期也可以在這裡點選其它的日期,價格就會依你選的自動更新。用了剛剛的促銷代碼,每張機票省下了 $850 元!決定後要在經濟艙 底下那個圈圈點一下 才算選定喔! 回程是 7/14 週四最便宜, 只要$2,937 , 剛好我們老大 7/15 要去夏令營,所以選這個航班也是OK! 右側的訂單詳情顯示了 總計 $23,636 元, 好像很便宜!不過後面還有一些其它費用啦! 先按繼續到下一頁。 接下來,它會問你要不要托運行李,餐點等等...如果你先在這裡選了 FlyBag 可以每個人都帶 20 公斤行李。不過行李我們在後面頁面再加入就好,這先選什麼都不要選,點下+ $0 再按繼續。 PS:如果這裡選了 FlyBag,那每個人都會算 20Kg 行李 $600元,不過我只打算帶一大一小的行李,不需要 4 個人都付費,所以先跳過這一頁。 接下來,你可一人加購 $900 Plu