Andy A / Mbed 2 deprecated buttonTest

Dependencies:   USBDevice mbed

Fork of randomSearch by Andy A

Committer:
AndyA
Date:
Thu Dec 17 21:21:06 2015 +0000
Revision:
1:f2747e954f10
Added mouse stuff and caps lock fun

Who changed what in which revision?

UserRevisionLine numberNew contents of line
AndyA 1:f2747e954f10 1
AndyA 1:f2747e954f10 2 // number of search terms
AndyA 1:f2747e954f10 3 const int searchStringCount = 6;
AndyA 1:f2747e954f10 4 // search terms. Should be url encoded (e.g. space becomes %20)
AndyA 1:f2747e954f10 5 const char *searches[] = {"hot%20cheese",
AndyA 1:f2747e954f10 6 "big%20show",
AndyA 1:f2747e954f10 7 "hot%20cheese",
AndyA 1:f2747e954f10 8 "magic%20mike%20xxl",
AndyA 1:f2747e954f10 9 "hot%20wet%20cheese",
AndyA 1:f2747e954f10 10 "hot%20wet%20-cheese"
AndyA 1:f2747e954f10 11 };
AndyA 1:f2747e954f10 12 // pause between searches in seconds
AndyA 1:f2747e954f10 13 const float delayBetweenSearches = 120;
AndyA 1:f2747e954f10 14
AndyA 1:f2747e954f10 15 // start of the search string
AndyA 1:f2747e954f10 16 const char searchPrefix[] = "https://www.google.co.uk/search?q=";
AndyA 1:f2747e954f10 17
AndyA 1:f2747e954f10 18 // end of the seach string (an image search with safe search switched off)
AndyA 1:f2747e954f10 19 const char searchSuffix[] = "&safe=off&tbm=isch";
AndyA 1:f2747e954f10 20
AndyA 1:f2747e954f10 21