Advertisement
pyr4ted4ve

Untitled

Jan 11th, 2014
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.00 KB | None | 0 0
  1.  
  2.  
  3. // This sketch was written by David Carver with ShortCircuitProjects.blogspot.com
  4.  
  5. #include <assert.h>
  6. #include "Button.h"
  7. #include <string>
  8. #include <avr/pgmspace.h>
  9.  
  10. Button Tbutton(2);
  11.  
  12. String taunt;
  13.  
  14. int x = 0;
  15.  
  16. prog_char string_0[] PROGMEM = "Get Some";
  17. prog_char string_1[] PROGMEM = "That Had To Hurt";
  18. prog_char string_2[] PROGMEM = "These Aint Yo Mammas Guns";
  19. prog_char string_3[] PROGMEM = "Keep the change";
  20. prog_char string_4[] PROGMEM = "Take That";
  21. prog_char string_5[] PROGMEM = "OUCH!";
  22. prog_char string_6[] PROGMEM = "I'm an equal opportunity asskicker!";
  23. prog_char string_7[] PROGMEM = "Go Home And Be A Family Man";
  24. prog_char string_8[] PROGMEM = "My Attacks Will Tear You Apart";
  25. prog_char string_9[] PROGMEM = "My gun's bigger than yours";
  26. prog_char string_10[] PROGMEM = "You're An Inspiration For Birth Control.!";
  27. prog_char string_11[] PROGMEM = "How Can You Challenge A Perfect Immortal Machine?";
  28. prog_char string_12[] PROGMEM = "You Weak Pathetic Fool.";
  29. prog_char string_13[] PROGMEM = "Yep. He's dead.";
  30. prog_char string_14[] PROGMEM = "Piece Of Cake!";
  31. prog_char string_15[] PROGMEM = "You Are So Unlikable";
  32. prog_char string_16[] PROGMEM = "You Cannot Stop Me";
  33. prog_char string_17[] PROGMEM = "BOOM!";
  34. prog_char string_18[] PROGMEM = "How Does Freedom Taste?";
  35. prog_char string_19[] PROGMEM = "That was nasty";
  36. prog_char string_20[] PROGMEM = "Squeal Boy Squeal";
  37. prog_char string_21[] PROGMEM = "Your Blood Smells Like My Duck Butter.";
  38. prog_char string_22[] PROGMEM = "Hail To The King, baby!";
  39. prog_char string_23[] PROGMEM = "Ive Killed More Men Then Cholesterol.";
  40. prog_char string_24[] PROGMEM = "Puny Mortal";
  41. prog_char string_25[] PROGMEM = "Chicken Ass";
  42. prog_char string_26[] PROGMEM = "Clean up on isle 5";
  43. prog_char string_27[] PROGMEM = "Forget the brown bag - you need a body bag";
  44. prog_char string_28[] PROGMEM = "He's outta there";
  45. prog_char string_29[] PROGMEM = "Is there a doctor in the house?";
  46. prog_char string_30[] PROGMEM = "Taking Out The Garbage.";
  47. prog_char string_31[] PROGMEM = "Now that's a blue light special";
  48. prog_char string_32[] PROGMEM = "Oww - do you have a booboo";
  49. prog_char string_33[] PROGMEM = "Damn you're ugly!";
  50. prog_char string_34[] PROGMEM = "Smells like chicken";
  51. prog_char string_35[] PROGMEM = "Taking Candy From a Baby";
  52. prog_char string_36[] PROGMEM = "You should've gone to Disney Land";
  53. prog_char string_37[] PROGMEM = "Are you still there";
  54. prog_char string_38[] PROGMEM = "Buckle up bonehead, cause you're going for a ride";
  55. prog_char string_39[] PROGMEM = "Burn baby burn";
  56. prog_char string_40[] PROGMEM = "I still got the touch";
  57. prog_char string_41[] PROGMEM = "You Are Inferior";
  58. prog_char string_42[] PROGMEM = "Its GO! Time";
  59. prog_char string_43[] PROGMEM = "You're a bumbling inept fool";
  60. prog_char string_44[] PROGMEM = "Hail to the King Baby";
  61. prog_char string_45[] PROGMEM = "Bring it on";
  62. prog_char string_46[] PROGMEM = "You weak pathetic fool";
  63. prog_char string_47[] PROGMEM = "That was too easy";
  64. prog_char string_48[] PROGMEM = "My boot, your face; the perfect couple.";
  65. prog_char string_49[] PROGMEM = "Hello yoohoo anybody here";
  66. prog_char string_50[] PROGMEM = "goodbye";
  67. prog_char string_51[] PROGMEM = "Yippie ka-yay, motherfucker!";
  68. prog_char string_52[] PROGMEM = "AWW SMLUCH!!";
  69. prog_char string_53[] PROGMEM = "You Like That?";
  70. prog_char string_54[] PROGMEM = "your ass is grass and I've got the weed-whacker";
  71. prog_char string_55[] PROGMEM = "Do You Need A Carrot?";
  72. prog_char string_56[] PROGMEM = "Choke On That";
  73. prog_char string_57[] PROGMEM = "Die, Weakling!";
  74. prog_char string_58[] PROGMEM = "I Salute My Fallen Enemy";
  75.  
  76. PROGMEM const char *taunts[] =
  77. {
  78. string_0,
  79. string_1,
  80. string_2,
  81. string_3,
  82. string_4,
  83. string_5,
  84. string_6,
  85. string_7,
  86. string_8,
  87. string_9,
  88. string_10,
  89. string_11,
  90. string_12,
  91. string_13,
  92. string_14,
  93. string_15,
  94. string_16,
  95. string_17,
  96. string_18,
  97. string_19,
  98. string_20,
  99. string_21,
  100. string_22,
  101. string_23,
  102. string_24,
  103. string_25,
  104. string_26,
  105. string_27,
  106. string_28,
  107. string_29,
  108. string_30,
  109. string_31,
  110. string_32,
  111. string_33,
  112. string_34,
  113. string_35,
  114. string_36,
  115. string_37,
  116. string_38,
  117. string_39,
  118. string_40,
  119. string_41,
  120. string_42,
  121. string_43,
  122. string_44,
  123. string_45,
  124. string_46,
  125. string_47,
  126. string_48,
  127. string_49,
  128. string_50,
  129. string_51,
  130. string_52,
  131. string_53,
  132. string_54,
  133. string_55,
  134. string_56,
  135. string_57,
  136. string_58 };
  137.  
  138. char buffer[60];
  139.  
  140. void setup(){
  141. Keyboard.begin();
  142. }
  143.  
  144. void printTaunt(){
  145. strcpy_P(buffer, (char*)pgm_read_word(&(taunts[x])));
  146. Keyboard.print("t");
  147. delay(50);
  148. Keyboard.print(buffer);
  149. Keyboard.write(KEY_RETURN);
  150.  
  151. x = x + 1;
  152.  
  153. if(x > 58){
  154. x = 0;
  155. }
  156. }
  157.  
  158. void loop(){
  159. if (Tbutton.getInput() == true){
  160. printTaunt();
  161. }
  162. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement