1 // ------------------------------------------------
2 // Test on function subscriptions
3 // @author Rahmadi Trimananda - UC Irvine
4 // ------------------------------------------------
6 // Setting up pins for input
9 Particle.function("12345678901",functionOne);
10 Particle.function("123456789012", functionTwo);
11 Particle.function("123", functionThree);
12 Particle.function("1234", functionFour);
13 Particle.function("12345", functionFive);
22 int functionOne(String integer) {
27 int functionTwo(String command) {
32 int functionThree(String command) {
37 int functionFour(String command) {
42 int functionFive(String command) {
44 return 1234567812345678;