Advertisement
Guest User

Hairy demon nipples

a guest
Nov 26th, 2014
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. #include <IRremote.h>
  2. #include <LiquidCrystal.h>
  3.  
  4. // initialize the library with the numbers of the interface pins
  5. LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
  6.  
  7. void setup() {
  8. // set up the LCD's number of columns and rows:
  9. lcd.begin(16, 2);
  10. // Print a message to the LCD.
  11. lcd.print("12:00");
  12. pinMode(8, OUTPUT);
  13. }
  14.  
  15. void loop() {
  16. // set the cursor to column 0, line 1
  17. // (note: line 1 is the second row, since counting begins with 0):
  18. lcd.setCursor(0, 1);
  19. // print the number of seconds since reset:
  20. lcd.print(millis() / 1000);
  21. for(int i=0;i<9;i++){
  22. analogWrite(6, i*10);
  23. digitalWrite(8, HIGH);
  24. delay(500);
  25. digitalWrite(8, LOW);
  26. delay(500);
  27. }
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement