Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

2 Digit LED Bargraph Counter

Braulio777 Jun 24th, 2017 (edited) 115 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. //2 Digit LED Bargraph Counter
  2.  int A = 2;  
  3.  int B = 3;
  4.  int C = 4;
  5.  int D = 5;
  6.  int E = 6;
  7.  int F = 7;
  8.  int G = 8;
  9.  int H = 9;
  10.  int I = 10;
  11.  int J = 11;    
  12.  int K = 12;  
  13.  int L = A5;
  14.  int M = A4;
  15.  int N = A3;
  16.  int P = A2;
  17.  int Q = A1;
  18.  int R = A0;
  19.  int S = 13;
  20.  int d = 1000;
  21.  int d1 = 5;
  22. void setup() {              
  23.  pinMode(A, OUTPUT);  
  24.  pinMode(B, OUTPUT);
  25.  pinMode(C, OUTPUT);
  26.  pinMode(D, OUTPUT);
  27.  pinMode(E, OUTPUT);
  28.  pinMode(F, OUTPUT);
  29.  pinMode(G, OUTPUT);
  30.  pinMode(H, OUTPUT);
  31.  pinMode(I, OUTPUT);
  32.  pinMode(J, OUTPUT);    
  33.  pinMode(K, OUTPUT);  
  34.  pinMode(L, OUTPUT);
  35.  pinMode(M, OUTPUT);
  36.  pinMode(N, OUTPUT);
  37.  pinMode(P, OUTPUT);
  38.  pinMode(Q, OUTPUT);
  39.  pinMode(R, OUTPUT);
  40.  pinMode(S, OUTPUT);
  41. }
  42. void loop(){
  43. //1
  44. digitalWrite(A, HIGH);
  45. delay(d);
  46. //2
  47. digitalWrite(A, HIGH);  
  48. digitalWrite(B, HIGH);
  49. delay(d);
  50. //3
  51. digitalWrite(A, HIGH);  
  52. digitalWrite(B, HIGH);
  53. digitalWrite(C, HIGH);
  54. delay(d);
  55. //4
  56. digitalWrite(A, HIGH);  
  57. digitalWrite(B, HIGH);
  58. digitalWrite(C, HIGH);
  59. digitalWrite(D, HIGH);
  60. delay(d);
  61. //5
  62. digitalWrite(A, HIGH);  
  63. digitalWrite(B, HIGH);
  64. digitalWrite(C, HIGH);
  65. digitalWrite(D, HIGH);
  66. digitalWrite(E, HIGH);
  67. delay(d);
  68. //6
  69. digitalWrite(A, HIGH);  
  70. digitalWrite(B, HIGH);
  71. digitalWrite(C, HIGH);
  72. digitalWrite(D, HIGH);
  73. digitalWrite(E, HIGH);
  74. digitalWrite(F, HIGH);
  75. delay(d);
  76. //7
  77. digitalWrite(A, HIGH);  
  78. digitalWrite(B, HIGH);
  79. digitalWrite(C, HIGH);
  80. digitalWrite(D, HIGH);
  81. digitalWrite(E, HIGH);
  82. digitalWrite(F, HIGH);
  83. digitalWrite(G, HIGH);
  84. delay(d);
  85. //8
  86. digitalWrite(A, HIGH);  
  87. digitalWrite(B, HIGH);
  88. digitalWrite(C, HIGH);
  89. digitalWrite(D, HIGH);
  90. digitalWrite(E, HIGH);
  91. digitalWrite(F, HIGH);
  92. digitalWrite(G, HIGH);
  93. digitalWrite(H, HIGH);
  94. delay(d);
  95. //9
  96. digitalWrite(A, HIGH);  
  97. digitalWrite(B, HIGH);
  98. digitalWrite(C, HIGH);
  99. digitalWrite(D, HIGH);
  100. digitalWrite(E, HIGH);
  101. digitalWrite(F, HIGH);
  102. digitalWrite(G, HIGH);
  103. digitalWrite(H, HIGH);
  104. digitalWrite(I, HIGH);
  105. delay(d);
  106. digitalWrite(A, LOW);  
  107. digitalWrite(B, LOW);
  108. digitalWrite(C, LOW);
  109. digitalWrite(D, LOW);
  110. digitalWrite(E, LOW);
  111. digitalWrite(F, LOW);
  112. digitalWrite(G, LOW);
  113. digitalWrite(H, LOW);
  114. digitalWrite(I, LOW);
  115. delay(d1);
  116. //10
  117. digitalWrite(J, HIGH);
  118. delay(d);
  119. //11
  120. digitalWrite(A, HIGH);
  121. digitalWrite(J, HIGH);  
  122. delay(d);
  123. //12
  124. digitalWrite(A, HIGH);  
  125. digitalWrite(B, HIGH);
  126. digitalWrite(J, HIGH);  
  127. delay(d);
  128. //13
  129. digitalWrite(A, HIGH);  
  130. digitalWrite(B, HIGH);
  131. digitalWrite(C, HIGH);
  132. digitalWrite(J, HIGH);  
  133. delay(d);
  134. //14
  135. digitalWrite(A, HIGH);  
  136. digitalWrite(B, HIGH);
  137. digitalWrite(C, HIGH);
  138. digitalWrite(D, HIGH);
  139. digitalWrite(J, HIGH);  
  140. delay(d);
  141. //15
  142. digitalWrite(A, HIGH);  
  143. digitalWrite(B, HIGH);
  144. digitalWrite(C, HIGH);
  145. digitalWrite(D, HIGH);
  146. digitalWrite(E, HIGH);
  147. digitalWrite(J, HIGH);  
  148. delay(d);
  149. //16
  150. digitalWrite(A, HIGH);  
  151. digitalWrite(B, HIGH);
  152. digitalWrite(C, HIGH);
  153. digitalWrite(D, HIGH);
  154. digitalWrite(E, HIGH);
  155. digitalWrite(F, HIGH);
  156. digitalWrite(J, HIGH);  
  157. delay(d);
  158. //17
  159. digitalWrite(A, HIGH);  
  160. digitalWrite(B, HIGH);
  161. digitalWrite(C, HIGH);
  162. digitalWrite(D, HIGH);
  163. digitalWrite(E, HIGH);
  164. digitalWrite(F, HIGH);
  165. digitalWrite(G, HIGH);
  166. digitalWrite(J, HIGH);  
  167. delay(d);
  168. //18
  169. digitalWrite(A, HIGH);  
  170. digitalWrite(B, HIGH);
  171. digitalWrite(C, HIGH);
  172. digitalWrite(D, HIGH);
  173. digitalWrite(E, HIGH);
  174. digitalWrite(F, HIGH);
  175. digitalWrite(G, HIGH);
  176. digitalWrite(H, HIGH);
  177. digitalWrite(J, HIGH);  
  178. delay(d);
  179. //19
  180. digitalWrite(A, HIGH);  
  181. digitalWrite(B, HIGH);
  182. digitalWrite(C, HIGH);
  183. digitalWrite(D, HIGH);
  184. digitalWrite(E, HIGH);
  185. digitalWrite(F, HIGH);
  186. digitalWrite(G, HIGH);
  187. digitalWrite(H, HIGH);
  188. digitalWrite(I, HIGH);
  189. digitalWrite(J, HIGH);  
  190. delay(d);
  191. digitalWrite(A, LOW);  
  192. digitalWrite(B, LOW);
  193. digitalWrite(C, LOW);
  194. digitalWrite(D, LOW);
  195. digitalWrite(E, LOW);
  196. digitalWrite(F, LOW);
  197. digitalWrite(G, LOW);
  198. digitalWrite(H, LOW);
  199. digitalWrite(I, LOW);
  200. digitalWrite(J, LOW);
  201. delay(d1);
  202. //20
  203. digitalWrite(J, HIGH);  
  204. digitalWrite(K, HIGH);
  205. delay(d);
  206. //21
  207. digitalWrite(A, HIGH);
  208. digitalWrite(J, HIGH);  
  209. digitalWrite(K, HIGH);
  210. delay(d);
  211. //22
  212. digitalWrite(A, HIGH);  
  213. digitalWrite(B, HIGH);
  214. digitalWrite(J, HIGH);  
  215. digitalWrite(K, HIGH);
  216. delay(d);
  217. //23
  218. digitalWrite(A, HIGH);  
  219. digitalWrite(B, HIGH);
  220. digitalWrite(C, HIGH);
  221. digitalWrite(J, HIGH);  
  222. digitalWrite(K, HIGH);
  223. delay(d);
  224. //24
  225. digitalWrite(A, HIGH);  
  226. digitalWrite(B, HIGH);
  227. digitalWrite(C, HIGH);
  228. digitalWrite(D, HIGH);
  229. digitalWrite(J, HIGH);  
  230. digitalWrite(K, HIGH);
  231. delay(d);
  232. //25
  233. digitalWrite(A, HIGH);  
  234. digitalWrite(B, HIGH);
  235. digitalWrite(C, HIGH);
  236. digitalWrite(D, HIGH);
  237. digitalWrite(E, HIGH);
  238. digitalWrite(J, HIGH);  
  239. digitalWrite(K, HIGH);
  240. delay(d);
  241. //26
  242. digitalWrite(A, HIGH);  
  243. digitalWrite(B, HIGH);
  244. digitalWrite(C, HIGH);
  245. digitalWrite(D, HIGH);
  246. digitalWrite(E, HIGH);
  247. digitalWrite(F, HIGH);
  248. digitalWrite(J, HIGH);  
  249. digitalWrite(K, HIGH);
  250. delay(d);
  251. //27
  252. digitalWrite(A, HIGH);  
  253. digitalWrite(B, HIGH);
  254. digitalWrite(C, HIGH);
  255. digitalWrite(D, HIGH);
  256. digitalWrite(E, HIGH);
  257. digitalWrite(F, HIGH);
  258. digitalWrite(G, HIGH);
  259. digitalWrite(J, HIGH);  
  260. digitalWrite(K, HIGH);
  261. delay(d);
  262. //28
  263. digitalWrite(A, HIGH);  
  264. digitalWrite(B, HIGH);
  265. digitalWrite(C, HIGH);
  266. digitalWrite(D, HIGH);
  267. digitalWrite(E, HIGH);
  268. digitalWrite(F, HIGH);
  269. digitalWrite(G, HIGH);
  270. digitalWrite(H, HIGH);;
  271. digitalWrite(J, HIGH);  
  272. digitalWrite(K, HIGH);
  273. delay(d);
  274. //29
  275. digitalWrite(A, HIGH);  
  276. digitalWrite(B, HIGH);
  277. digitalWrite(C, HIGH);
  278. digitalWrite(D, HIGH);
  279. digitalWrite(E, HIGH);
  280. digitalWrite(F, HIGH);
  281. digitalWrite(G, HIGH);
  282. digitalWrite(H, HIGH);
  283. digitalWrite(I, HIGH);
  284. digitalWrite(J, HIGH);  
  285. digitalWrite(K, HIGH);
  286. delay(d);
  287. digitalWrite(A, LOW);  
  288. digitalWrite(B, LOW);
  289. digitalWrite(C, LOW);
  290. digitalWrite(D, LOW);
  291. digitalWrite(E, LOW);
  292. digitalWrite(F, LOW);
  293. digitalWrite(G, LOW);
  294. digitalWrite(H, LOW);
  295. digitalWrite(I, LOW);
  296. digitalWrite(J, LOW);
  297. digitalWrite(K, LOW);
  298. delay(d1);
  299. //30
  300. digitalWrite(J, HIGH);  
  301. digitalWrite(K, HIGH);
  302. digitalWrite(L, HIGH);
  303. delay(d);
  304. //31
  305. digitalWrite(A, HIGH);
  306. digitalWrite(J, HIGH);  
  307. digitalWrite(K, HIGH);
  308. digitalWrite(L, HIGH);
  309. delay(d);
  310. //32
  311. digitalWrite(A, HIGH);  
  312. digitalWrite(B, HIGH);
  313. digitalWrite(J, HIGH);  
  314. digitalWrite(K, HIGH);
  315. digitalWrite(L, HIGH);
  316. delay(d);
  317. //33
  318. digitalWrite(A, HIGH);  
  319. digitalWrite(B, HIGH);
  320. digitalWrite(C, HIGH);
  321. digitalWrite(J, HIGH);  
  322. digitalWrite(K, HIGH);
  323. digitalWrite(L, HIGH);
  324. delay(d);
  325. //34
  326. digitalWrite(A, HIGH);  
  327. digitalWrite(B, HIGH);
  328. digitalWrite(C, HIGH);
  329. digitalWrite(D, HIGH);
  330. digitalWrite(J, HIGH);  
  331. digitalWrite(K, HIGH);
  332. digitalWrite(L, HIGH);
  333. delay(d);
  334. //35
  335. digitalWrite(A, HIGH);  
  336. digitalWrite(B, HIGH);
  337. digitalWrite(C, HIGH);
  338. digitalWrite(D, HIGH);
  339. digitalWrite(E, HIGH);
  340. digitalWrite(J, HIGH);  
  341. digitalWrite(K, HIGH);
  342. digitalWrite(L, HIGH);
  343. delay(d);
  344. //36
  345. digitalWrite(A, HIGH);  
  346. digitalWrite(B, HIGH);
  347. digitalWrite(C, HIGH);
  348. digitalWrite(D, HIGH);
  349. digitalWrite(E, HIGH);
  350. digitalWrite(F, HIGH);
  351. digitalWrite(J, HIGH);  
  352. digitalWrite(K, HIGH);
  353. digitalWrite(L, HIGH);
  354. delay(d);
  355. //37
  356. digitalWrite(A, HIGH);  
  357. digitalWrite(B, HIGH);
  358. digitalWrite(C, HIGH);
  359. digitalWrite(D, HIGH);
  360. digitalWrite(E, HIGH);
  361. digitalWrite(F, HIGH);
  362. digitalWrite(G, HIGH);
  363. digitalWrite(J, HIGH);  
  364. digitalWrite(K, HIGH);
  365. digitalWrite(L, HIGH);
  366. delay(d);
  367. //38
  368. digitalWrite(A, HIGH);  
  369. digitalWrite(B, HIGH);
  370. digitalWrite(C, HIGH);
  371. digitalWrite(D, HIGH);
  372. digitalWrite(E, HIGH);
  373. digitalWrite(F, HIGH);
  374. digitalWrite(G, HIGH);
  375. digitalWrite(H, HIGH);
  376. digitalWrite(J, HIGH);  
  377. digitalWrite(K, HIGH);
  378. digitalWrite(L, HIGH);
  379. delay(d);
  380. //39
  381. digitalWrite(A, HIGH);  
  382. digitalWrite(B, HIGH);
  383. digitalWrite(C, HIGH);
  384. digitalWrite(D, HIGH);
  385. digitalWrite(E, HIGH);
  386. digitalWrite(F, HIGH);
  387. digitalWrite(G, HIGH);
  388. digitalWrite(H, HIGH);
  389. digitalWrite(I, HIGH);
  390. digitalWrite(J, HIGH);  
  391. digitalWrite(K, HIGH);
  392. digitalWrite(L, HIGH);
  393. delay(d);
  394. digitalWrite(A, LOW);  
  395. digitalWrite(B, LOW);
  396. digitalWrite(C, LOW);
  397. digitalWrite(D, LOW);
  398. digitalWrite(E, LOW);
  399. digitalWrite(F, LOW);
  400. digitalWrite(G, LOW);
  401. digitalWrite(H, LOW);
  402. digitalWrite(I, LOW);
  403. digitalWrite(J, LOW);
  404. digitalWrite(K, LOW);
  405. digitalWrite(L, LOW);
  406. delay(d1);
  407. //40
  408. digitalWrite(J, HIGH);  
  409. digitalWrite(K, HIGH);
  410. digitalWrite(L, HIGH);
  411. digitalWrite(M, HIGH);
  412. delay(d);
  413. //41
  414. digitalWrite(A, HIGH);
  415. digitalWrite(J, HIGH);  
  416. digitalWrite(K, HIGH);
  417. digitalWrite(L, HIGH);
  418. digitalWrite(M, HIGH);
  419. delay(d);
  420. //42
  421. digitalWrite(A, HIGH);
  422. digitalWrite(B, HIGH);
  423. digitalWrite(J, HIGH);  
  424. digitalWrite(K, HIGH);
  425. digitalWrite(L, HIGH);
  426. digitalWrite(M, HIGH);
  427. delay(d);
  428. //43
  429. digitalWrite(A, HIGH);
  430. digitalWrite(B, HIGH);
  431. digitalWrite(C, HIGH);
  432. digitalWrite(J, HIGH);  
  433. digitalWrite(K, HIGH);
  434. digitalWrite(L, HIGH);
  435. digitalWrite(M, HIGH);
  436. delay(d);
  437. //44
  438. digitalWrite(A, HIGH);
  439. digitalWrite(B, HIGH);
  440. digitalWrite(C, HIGH);
  441. digitalWrite(D, HIGH);
  442. digitalWrite(J, HIGH);  
  443. digitalWrite(K, HIGH);
  444. digitalWrite(L, HIGH);
  445. digitalWrite(M, HIGH);
  446. delay(d);
  447. //45
  448. digitalWrite(A, HIGH);
  449. digitalWrite(B, HIGH);
  450. digitalWrite(C, HIGH);
  451. digitalWrite(D, HIGH);
  452. digitalWrite(E, HIGH);
  453. digitalWrite(J, HIGH);  
  454. digitalWrite(K, HIGH);
  455. digitalWrite(L, HIGH);
  456. digitalWrite(M, HIGH);
  457. delay(d);
  458. //46
  459. digitalWrite(A, HIGH);
  460. digitalWrite(B, HIGH);
  461. digitalWrite(C, HIGH);
  462. digitalWrite(D, HIGH);
  463. digitalWrite(E, HIGH);
  464. digitalWrite(F, HIGH);
  465. digitalWrite(J, HIGH);  
  466. digitalWrite(K, HIGH);
  467. digitalWrite(L, HIGH);
  468. digitalWrite(M, HIGH);
  469. delay(d);
  470. //47
  471. digitalWrite(A, HIGH);
  472. digitalWrite(B, HIGH);
  473. digitalWrite(C, HIGH);
  474. digitalWrite(D, HIGH);
  475. digitalWrite(E, HIGH);
  476. digitalWrite(F, HIGH);
  477. digitalWrite(G, HIGH);
  478. digitalWrite(J, HIGH);  
  479. digitalWrite(K, HIGH);
  480. digitalWrite(L, HIGH);
  481. digitalWrite(M, HIGH);
  482. delay(d);
  483. //48
  484. digitalWrite(A, HIGH);
  485. digitalWrite(B, HIGH);
  486. digitalWrite(C, HIGH);
  487. digitalWrite(D, HIGH);
  488. digitalWrite(E, HIGH);
  489. digitalWrite(F, HIGH);
  490. digitalWrite(G, HIGH);
  491. digitalWrite(H, HIGH);;
  492. digitalWrite(J, HIGH);  
  493. digitalWrite(K, HIGH);
  494. digitalWrite(L, HIGH);
  495. digitalWrite(M, HIGH);
  496. delay(d);
  497. //49
  498. digitalWrite(A, HIGH);
  499. digitalWrite(B, HIGH);
  500. digitalWrite(C, HIGH);
  501. digitalWrite(D, HIGH);
  502. digitalWrite(E, HIGH);
  503. digitalWrite(F, HIGH);
  504. digitalWrite(G, HIGH);
  505. digitalWrite(H, HIGH);
  506. digitalWrite(I, HIGH);
  507. digitalWrite(J, HIGH);  
  508. digitalWrite(K, HIGH);
  509. digitalWrite(L, HIGH);
  510. digitalWrite(M, HIGH);
  511. delay(d);
  512. digitalWrite(A, LOW);  
  513. digitalWrite(B, LOW);
  514. digitalWrite(C, LOW);
  515. digitalWrite(D, LOW);
  516. digitalWrite(E, LOW);
  517. digitalWrite(F, LOW);
  518. digitalWrite(G, LOW);
  519. digitalWrite(H, LOW);
  520. digitalWrite(I, LOW);
  521. digitalWrite(J, LOW);
  522. digitalWrite(K, LOW);
  523. digitalWrite(L, LOW);
  524. digitalWrite(M, LOW);
  525. delay(d1);
  526. //50  
  527. digitalWrite(J, HIGH);  
  528. digitalWrite(K, HIGH);
  529. digitalWrite(L, HIGH);
  530. digitalWrite(M, HIGH);
  531. digitalWrite(N, HIGH);
  532. delay(d);
  533. //51
  534. digitalWrite(A, HIGH);
  535. digitalWrite(J, HIGH);  
  536. digitalWrite(K, HIGH);
  537. digitalWrite(L, HIGH);
  538. digitalWrite(M, HIGH);
  539. digitalWrite(N, HIGH);
  540. delay(d);
  541. //52
  542. digitalWrite(A, HIGH);
  543. digitalWrite(B, HIGH);
  544. digitalWrite(J, HIGH);  
  545. digitalWrite(K, HIGH);
  546. digitalWrite(L, HIGH);
  547. digitalWrite(M, HIGH);
  548. digitalWrite(N, HIGH);
  549. delay(d);
  550. //53
  551. digitalWrite(A, HIGH);
  552. digitalWrite(B, HIGH);
  553. digitalWrite(C, HIGH);
  554. digitalWrite(J, HIGH);  
  555. digitalWrite(K, HIGH);
  556. digitalWrite(L, HIGH);
  557. digitalWrite(M, HIGH);
  558. digitalWrite(N, HIGH);
  559. delay(d);
  560. //54
  561. digitalWrite(A, HIGH);
  562. digitalWrite(B, HIGH);
  563. digitalWrite(C, HIGH);
  564. digitalWrite(D, HIGH);
  565. digitalWrite(J, HIGH);  
  566. digitalWrite(K, HIGH);
  567. digitalWrite(L, HIGH);
  568. digitalWrite(M, HIGH);
  569. digitalWrite(N, HIGH);
  570. delay(d);
  571. //55
  572. digitalWrite(A, HIGH);
  573. digitalWrite(B, HIGH);
  574. digitalWrite(C, HIGH);
  575. digitalWrite(D, HIGH);
  576. digitalWrite(E, HIGH);
  577. digitalWrite(J, HIGH);  
  578. digitalWrite(K, HIGH);
  579. digitalWrite(L, HIGH);
  580. digitalWrite(M, HIGH);
  581. digitalWrite(N, HIGH);
  582. delay(d);
  583. //56
  584. digitalWrite(A, HIGH);
  585. digitalWrite(B, HIGH);
  586. digitalWrite(C, HIGH);
  587. digitalWrite(D, HIGH);
  588. digitalWrite(E, HIGH);
  589. digitalWrite(F, HIGH);
  590. digitalWrite(J, HIGH);  
  591. digitalWrite(K, HIGH);
  592. digitalWrite(L, HIGH);
  593. digitalWrite(M, HIGH);
  594. digitalWrite(N, HIGH);
  595. delay(d);
  596. //57
  597. digitalWrite(A, HIGH);
  598. digitalWrite(B, HIGH);
  599. digitalWrite(C, HIGH);
  600. digitalWrite(D, HIGH);
  601. digitalWrite(E, HIGH);
  602. digitalWrite(F, HIGH);
  603. digitalWrite(G, HIGH);
  604. digitalWrite(J, HIGH);  
  605. digitalWrite(K, HIGH);
  606. digitalWrite(L, HIGH);
  607. digitalWrite(M, HIGH);
  608. digitalWrite(N, HIGH);
  609. delay(d);
  610. //58
  611. digitalWrite(A, HIGH);
  612. digitalWrite(B, HIGH);
  613. digitalWrite(C, HIGH);
  614. digitalWrite(D, HIGH);
  615. digitalWrite(E, HIGH);
  616. digitalWrite(F, HIGH);
  617. digitalWrite(G, HIGH);
  618. digitalWrite(H, HIGH);
  619. digitalWrite(J, HIGH);  
  620. digitalWrite(K, HIGH);
  621. digitalWrite(L, HIGH);
  622. digitalWrite(M, HIGH);
  623. digitalWrite(N, HIGH);
  624. delay(d);
  625. //59
  626. digitalWrite(A, HIGH);
  627. digitalWrite(B, HIGH);
  628. digitalWrite(C, HIGH);
  629. digitalWrite(D, HIGH);
  630. digitalWrite(E, HIGH);
  631. digitalWrite(F, HIGH);
  632. digitalWrite(G, HIGH);
  633. digitalWrite(H, HIGH);
  634. digitalWrite(I, HIGH);
  635. digitalWrite(J, HIGH);  
  636. digitalWrite(K, HIGH);
  637. digitalWrite(L, HIGH);
  638. digitalWrite(M, HIGH);
  639. digitalWrite(N, HIGH);
  640. delay(d);
  641. digitalWrite(A, LOW);  
  642. digitalWrite(B, LOW);
  643. digitalWrite(C, LOW);
  644. digitalWrite(D, LOW);
  645. digitalWrite(E, LOW);
  646. digitalWrite(F, LOW);
  647. digitalWrite(G, LOW);
  648. digitalWrite(H, LOW);
  649. digitalWrite(I, LOW);
  650. digitalWrite(J, LOW);
  651. digitalWrite(K, LOW);
  652. digitalWrite(L, LOW);
  653. digitalWrite(M, LOW);
  654. digitalWrite(N, LOW);
  655. delay(d1);
  656. //60  
  657. digitalWrite(J, HIGH);  
  658. digitalWrite(K, HIGH);
  659. digitalWrite(L, HIGH);
  660. digitalWrite(M, HIGH);
  661. digitalWrite(N, HIGH);
  662. digitalWrite(P, HIGH);
  663. delay(d);
  664. //61
  665. digitalWrite(A, HIGH);
  666. digitalWrite(J, HIGH);  
  667. digitalWrite(K, HIGH);
  668. digitalWrite(L, HIGH);
  669. digitalWrite(M, HIGH);
  670. digitalWrite(N, HIGH);
  671. digitalWrite(P, HIGH);
  672. delay(d);
  673. //62
  674. digitalWrite(A, HIGH);
  675. digitalWrite(B, HIGH);
  676. digitalWrite(J, HIGH);  
  677. digitalWrite(K, HIGH);
  678. digitalWrite(L, HIGH);
  679. digitalWrite(M, HIGH);
  680. digitalWrite(N, HIGH);
  681. digitalWrite(P, HIGH);
  682. delay(d);
  683. //63
  684. digitalWrite(A, HIGH);
  685. digitalWrite(B, HIGH);
  686. digitalWrite(C, HIGH);
  687. digitalWrite(J, HIGH);  
  688. digitalWrite(K, HIGH);
  689. digitalWrite(L, HIGH);
  690. digitalWrite(M, HIGH);
  691. digitalWrite(N, HIGH);
  692. digitalWrite(P, HIGH);
  693. delay(d);
  694. //64
  695. digitalWrite(A, HIGH);
  696. digitalWrite(B, HIGH);
  697. digitalWrite(C, HIGH);
  698. digitalWrite(D, HIGH);
  699. digitalWrite(J, HIGH);  
  700. digitalWrite(K, HIGH);
  701. digitalWrite(L, HIGH);
  702. digitalWrite(M, HIGH);
  703. digitalWrite(N, HIGH);
  704. digitalWrite(P, HIGH);
  705. delay(d);
  706. //65
  707. digitalWrite(A, HIGH);
  708. digitalWrite(B, HIGH);
  709. digitalWrite(C, HIGH);
  710. digitalWrite(D, HIGH);
  711. digitalWrite(E, HIGH);
  712. digitalWrite(J, HIGH);  
  713. digitalWrite(K, HIGH);
  714. digitalWrite(L, HIGH);
  715. digitalWrite(M, HIGH);
  716. digitalWrite(N, HIGH);
  717. digitalWrite(P, HIGH);
  718. delay(d);
  719. //66
  720. digitalWrite(A, HIGH);
  721. digitalWrite(B, HIGH);
  722. digitalWrite(C, HIGH);
  723. digitalWrite(D, HIGH);
  724. digitalWrite(E, HIGH);
  725. digitalWrite(F, HIGH);
  726. digitalWrite(J, HIGH);  
  727. digitalWrite(K, HIGH);
  728. digitalWrite(L, HIGH);
  729. digitalWrite(M, HIGH);
  730. digitalWrite(N, HIGH);
  731. digitalWrite(P, HIGH);
  732. delay(d);
  733. //67
  734. digitalWrite(A, HIGH);
  735. digitalWrite(B, HIGH);
  736. digitalWrite(C, HIGH);
  737. digitalWrite(D, HIGH);
  738. digitalWrite(E, HIGH);
  739. digitalWrite(F, HIGH);
  740. digitalWrite(G, HIGH);
  741. digitalWrite(J, HIGH);  
  742. digitalWrite(K, HIGH);
  743. digitalWrite(L, HIGH);
  744. digitalWrite(M, HIGH);
  745. digitalWrite(N, HIGH);
  746. digitalWrite(P, HIGH);
  747. delay(d);
  748. //68
  749. digitalWrite(A, HIGH);
  750. digitalWrite(B, HIGH);
  751. digitalWrite(C, HIGH);
  752. digitalWrite(D, HIGH);
  753. digitalWrite(E, HIGH);
  754. digitalWrite(F, HIGH);
  755. digitalWrite(G, HIGH);
  756. digitalWrite(H, HIGH);
  757. digitalWrite(J, HIGH);  
  758. digitalWrite(K, HIGH);
  759. digitalWrite(L, HIGH);
  760. digitalWrite(M, HIGH);
  761. digitalWrite(N, HIGH);
  762. digitalWrite(P, HIGH);
  763. delay(d);
  764. //69
  765. digitalWrite(A, HIGH);
  766. digitalWrite(B, HIGH);
  767. digitalWrite(C, HIGH);
  768. digitalWrite(D, HIGH);
  769. digitalWrite(E, HIGH);
  770. digitalWrite(F, HIGH);
  771. digitalWrite(G, HIGH);
  772. digitalWrite(H, HIGH);
  773. digitalWrite(I, HIGH);
  774. digitalWrite(J, HIGH);  
  775. digitalWrite(K, HIGH);
  776. digitalWrite(L, HIGH);
  777. digitalWrite(M, HIGH);
  778. digitalWrite(N, HIGH);
  779. digitalWrite(P, HIGH);
  780. delay(d);
  781. digitalWrite(A, LOW);  
  782. digitalWrite(B, LOW);
  783. digitalWrite(C, LOW);
  784. digitalWrite(D, LOW);
  785. digitalWrite(E, LOW);
  786. digitalWrite(F, LOW);
  787. digitalWrite(G, LOW);
  788. digitalWrite(H, LOW);
  789. digitalWrite(I, LOW);
  790. digitalWrite(J, LOW);
  791. digitalWrite(K, LOW);
  792. digitalWrite(L, LOW);
  793. digitalWrite(M, LOW);
  794. digitalWrite(N, LOW);
  795. digitalWrite(P, LOW);
  796. delay(d1);
  797. //70  
  798. digitalWrite(J, HIGH);  
  799. digitalWrite(K, HIGH);
  800. digitalWrite(L, HIGH);
  801. digitalWrite(M, HIGH);
  802. digitalWrite(N, HIGH);
  803. digitalWrite(P, HIGH);
  804. digitalWrite(Q, HIGH);
  805. delay(d);
  806. //71
  807. digitalWrite(A, HIGH);
  808. digitalWrite(J, HIGH);  
  809. digitalWrite(K, HIGH);
  810. digitalWrite(L, HIGH);
  811. digitalWrite(M, HIGH);
  812. digitalWrite(N, HIGH);
  813. digitalWrite(P, HIGH);
  814. digitalWrite(Q, HIGH);
  815. delay(d);
  816. //72
  817. digitalWrite(A, HIGH);
  818. digitalWrite(B, HIGH);
  819. digitalWrite(J, HIGH);  
  820. digitalWrite(K, HIGH);
  821. digitalWrite(L, HIGH);
  822. digitalWrite(M, HIGH);
  823. digitalWrite(N, HIGH);
  824. digitalWrite(P, HIGH);
  825. digitalWrite(Q, HIGH);
  826. delay(d);
  827. //73
  828. digitalWrite(A, HIGH);
  829. digitalWrite(B, HIGH);
  830. digitalWrite(C, HIGH);
  831. digitalWrite(J, HIGH);  
  832. digitalWrite(K, HIGH);
  833. digitalWrite(L, HIGH);
  834. digitalWrite(M, HIGH);
  835. digitalWrite(N, HIGH);
  836. digitalWrite(P, HIGH);
  837. digitalWrite(Q, HIGH);
  838. delay(d);
  839. //74
  840. digitalWrite(A, HIGH);
  841. digitalWrite(B, HIGH);
  842. digitalWrite(C, HIGH);
  843. digitalWrite(D, HIGH);
  844. digitalWrite(J, HIGH);  
  845. digitalWrite(K, HIGH);
  846. digitalWrite(L, HIGH);
  847. digitalWrite(M, HIGH);
  848. digitalWrite(N, HIGH);
  849. digitalWrite(P, HIGH);
  850. digitalWrite(Q, HIGH);
  851. delay(d);
  852. //75
  853. digitalWrite(A, HIGH);
  854. digitalWrite(B, HIGH);
  855. digitalWrite(C, HIGH);
  856. digitalWrite(D, HIGH);
  857. digitalWrite(E, HIGH);
  858. digitalWrite(J, HIGH);  
  859. digitalWrite(K, HIGH);
  860. digitalWrite(L, HIGH);
  861. digitalWrite(M, HIGH);
  862. digitalWrite(N, HIGH);
  863. digitalWrite(P, HIGH);
  864. digitalWrite(Q, HIGH);
  865. delay(d);
  866. //76
  867. digitalWrite(A, HIGH);
  868. digitalWrite(B, HIGH);
  869. digitalWrite(C, HIGH);
  870. digitalWrite(D, HIGH);
  871. digitalWrite(E, HIGH);
  872. digitalWrite(F, HIGH);
  873. digitalWrite(J, HIGH);  
  874. digitalWrite(K, HIGH);
  875. digitalWrite(L, HIGH);
  876. digitalWrite(M, HIGH);
  877. digitalWrite(N, HIGH);
  878. digitalWrite(P, HIGH);
  879. digitalWrite(Q, HIGH);
  880. delay(d);
  881. //77
  882. digitalWrite(A, HIGH);
  883. digitalWrite(B, HIGH);
  884. digitalWrite(C, HIGH);
  885. digitalWrite(D, HIGH);
  886. digitalWrite(E, HIGH);
  887. digitalWrite(F, HIGH);
  888. digitalWrite(G, HIGH);
  889. digitalWrite(J, HIGH);  
  890. digitalWrite(K, HIGH);
  891. digitalWrite(L, HIGH);
  892. digitalWrite(M, HIGH);
  893. digitalWrite(N, HIGH);
  894. digitalWrite(P, HIGH);
  895. digitalWrite(Q, HIGH);
  896. delay(d);
  897. //78
  898. digitalWrite(A, HIGH);
  899. digitalWrite(B, HIGH);
  900. digitalWrite(C, HIGH);
  901. digitalWrite(D, HIGH);
  902. digitalWrite(E, HIGH);
  903. digitalWrite(F, HIGH);
  904. digitalWrite(G, HIGH);
  905. digitalWrite(H, HIGH);
  906. digitalWrite(J, HIGH);  
  907. digitalWrite(K, HIGH);
  908. digitalWrite(L, HIGH);
  909. digitalWrite(M, HIGH);
  910. digitalWrite(N, HIGH);
  911. digitalWrite(P, HIGH);
  912. digitalWrite(Q, HIGH);
  913. delay(d);
  914. //79
  915. digitalWrite(A, HIGH);
  916. digitalWrite(B, HIGH);
  917. digitalWrite(C, HIGH);
  918. digitalWrite(D, HIGH);
  919. digitalWrite(E, HIGH);
  920. digitalWrite(F, HIGH);
  921. digitalWrite(G, HIGH);
  922. digitalWrite(H, HIGH);
  923. digitalWrite(I, HIGH);
  924. digitalWrite(J, HIGH);  
  925. digitalWrite(K, HIGH);
  926. digitalWrite(L, HIGH);
  927. digitalWrite(M, HIGH);
  928. digitalWrite(N, HIGH);
  929. digitalWrite(P, HIGH);
  930. digitalWrite(Q, HIGH);
  931. delay(d);
  932. digitalWrite(A, LOW);  
  933. digitalWrite(B, LOW);
  934. digitalWrite(C, LOW);
  935. digitalWrite(D, LOW);
  936. digitalWrite(E, LOW);
  937. digitalWrite(F, LOW);
  938. digitalWrite(G, LOW);
  939. digitalWrite(H, LOW);
  940. digitalWrite(I, LOW);
  941. digitalWrite(J, LOW);
  942. digitalWrite(K, LOW);
  943. digitalWrite(L, LOW);
  944. digitalWrite(M, LOW);
  945. digitalWrite(N, LOW);
  946. digitalWrite(P, LOW);
  947. digitalWrite(Q, LOW);
  948. delay(d1);
  949. //80
  950. digitalWrite(J, HIGH);  
  951. digitalWrite(K, HIGH);
  952. digitalWrite(L, HIGH);
  953. digitalWrite(M, HIGH);
  954. digitalWrite(N, HIGH);
  955. digitalWrite(P, HIGH);
  956. digitalWrite(Q, HIGH);
  957. digitalWrite(R, HIGH);
  958. delay(d);
  959. //81
  960. digitalWrite(A, HIGH);
  961. digitalWrite(J, HIGH);  
  962. digitalWrite(K, HIGH);
  963. digitalWrite(L, HIGH);
  964. digitalWrite(M, HIGH);
  965. digitalWrite(N, HIGH);
  966. digitalWrite(P, HIGH);
  967. digitalWrite(Q, HIGH);
  968. digitalWrite(R, HIGH);
  969. delay(d);
  970. //82
  971. digitalWrite(A, HIGH);
  972. digitalWrite(B, HIGH);
  973. digitalWrite(J, HIGH);  
  974. digitalWrite(K, HIGH);
  975. digitalWrite(L, HIGH);
  976. digitalWrite(M, HIGH);
  977. digitalWrite(N, HIGH);
  978. digitalWrite(P, HIGH);
  979. digitalWrite(Q, HIGH);
  980. digitalWrite(R, HIGH);
  981. delay(d);
  982. //83
  983. digitalWrite(A, HIGH);
  984. digitalWrite(B, HIGH);
  985. digitalWrite(C, HIGH);
  986. digitalWrite(J, HIGH);  
  987. digitalWrite(K, HIGH);
  988. digitalWrite(L, HIGH);
  989. digitalWrite(M, HIGH);
  990. digitalWrite(N, HIGH);
  991. digitalWrite(P, HIGH);
  992. digitalWrite(Q, HIGH);
  993. digitalWrite(R, HIGH);
  994. delay(d);
  995. //84
  996. digitalWrite(A, HIGH);
  997. digitalWrite(B, HIGH);
  998. digitalWrite(C, HIGH);
  999. digitalWrite(D, HIGH);
  1000. digitalWrite(J, HIGH);  
  1001. digitalWrite(K, HIGH);
  1002. digitalWrite(L, HIGH);
  1003. digitalWrite(M, HIGH);
  1004. digitalWrite(N, HIGH);
  1005. digitalWrite(P, HIGH);
  1006. digitalWrite(Q, HIGH);
  1007. digitalWrite(R, HIGH);
  1008. delay(d);
  1009. //85
  1010. digitalWrite(A, HIGH);
  1011. digitalWrite(B, HIGH);
  1012. digitalWrite(C, HIGH);
  1013. digitalWrite(D, HIGH);
  1014. digitalWrite(E, HIGH);
  1015. digitalWrite(J, HIGH);  
  1016. digitalWrite(K, HIGH);
  1017. digitalWrite(L, HIGH);
  1018. digitalWrite(M, HIGH);
  1019. digitalWrite(N, HIGH);
  1020. digitalWrite(P, HIGH);
  1021. digitalWrite(Q, HIGH);
  1022. digitalWrite(R, HIGH);
  1023. delay(d);
  1024. //86
  1025. digitalWrite(A, HIGH);
  1026. digitalWrite(B, HIGH);
  1027. digitalWrite(C, HIGH);
  1028. digitalWrite(D, HIGH);
  1029. digitalWrite(E, HIGH);
  1030. digitalWrite(F, HIGH);
  1031. digitalWrite(J, HIGH);  
  1032. digitalWrite(K, HIGH);
  1033. digitalWrite(L, HIGH);
  1034. digitalWrite(M, HIGH);
  1035. digitalWrite(N, HIGH);
  1036. digitalWrite(P, HIGH);
  1037. digitalWrite(Q, HIGH);
  1038. digitalWrite(R, HIGH);
  1039. delay(d);
  1040. //87
  1041. digitalWrite(A, HIGH);
  1042. digitalWrite(B, HIGH);
  1043. digitalWrite(C, HIGH);
  1044. digitalWrite(D, HIGH);
  1045. digitalWrite(E, HIGH);
  1046. digitalWrite(F, HIGH);
  1047. digitalWrite(G, HIGH);
  1048. digitalWrite(J, HIGH);  
  1049. digitalWrite(K, HIGH);
  1050. digitalWrite(L, HIGH);
  1051. digitalWrite(M, HIGH);
  1052. digitalWrite(N, HIGH);
  1053. digitalWrite(P, HIGH);
  1054. digitalWrite(Q, HIGH);
  1055. digitalWrite(R, HIGH);
  1056. delay(d);
  1057. //88
  1058. digitalWrite(A, HIGH);
  1059. digitalWrite(B, HIGH);
  1060. digitalWrite(C, HIGH);
  1061. digitalWrite(D, HIGH);
  1062. digitalWrite(E, HIGH);
  1063. digitalWrite(F, HIGH);
  1064. digitalWrite(G, HIGH);
  1065. digitalWrite(H, HIGH);
  1066. digitalWrite(J, HIGH);  
  1067. digitalWrite(K, HIGH);
  1068. digitalWrite(L, HIGH);
  1069. digitalWrite(M, HIGH);
  1070. digitalWrite(N, HIGH);
  1071. digitalWrite(P, HIGH);
  1072. digitalWrite(Q, HIGH);
  1073. digitalWrite(R, HIGH);
  1074. delay(d);
  1075. //89
  1076. digitalWrite(A, HIGH);
  1077. digitalWrite(B, HIGH);
  1078. digitalWrite(C, HIGH);
  1079. digitalWrite(D, HIGH);
  1080. digitalWrite(E, HIGH);
  1081. digitalWrite(F, HIGH);
  1082. digitalWrite(G, HIGH);
  1083. digitalWrite(H, HIGH);
  1084. digitalWrite(I, HIGH);
  1085. digitalWrite(J, HIGH);  
  1086. digitalWrite(K, HIGH);
  1087. digitalWrite(L, HIGH);
  1088. digitalWrite(M, HIGH);
  1089. digitalWrite(N, HIGH);
  1090. digitalWrite(P, HIGH);
  1091. digitalWrite(Q, HIGH);
  1092. digitalWrite(R, HIGH);
  1093. delay(d);
  1094. digitalWrite(A, LOW);  
  1095. digitalWrite(B, LOW);
  1096. digitalWrite(C, LOW);
  1097. digitalWrite(D, LOW);
  1098. digitalWrite(E, LOW);
  1099. digitalWrite(F, LOW);
  1100. digitalWrite(G, LOW);
  1101. digitalWrite(H, LOW);
  1102. digitalWrite(I, LOW);
  1103. digitalWrite(J, LOW);
  1104. digitalWrite(K, LOW);
  1105. digitalWrite(L, LOW);
  1106. digitalWrite(M, LOW);
  1107. digitalWrite(N, LOW);
  1108. digitalWrite(P, LOW);
  1109. digitalWrite(Q, LOW);
  1110. digitalWrite(R, LOW);
  1111. delay(d1);
  1112. //90  
  1113. digitalWrite(J, HIGH);  
  1114. digitalWrite(K, HIGH);
  1115. digitalWrite(L, HIGH);
  1116. digitalWrite(M, HIGH);
  1117. digitalWrite(N, HIGH);
  1118. digitalWrite(P, HIGH);
  1119. digitalWrite(Q, HIGH);
  1120. digitalWrite(R, HIGH);
  1121. digitalWrite(S, HIGH);
  1122. delay(d);
  1123. //91
  1124. digitalWrite(A, HIGH);
  1125. digitalWrite(J, HIGH);  
  1126. digitalWrite(K, HIGH);
  1127. digitalWrite(L, HIGH);
  1128. digitalWrite(M, HIGH);
  1129. digitalWrite(N, HIGH);
  1130. digitalWrite(P, HIGH);  
  1131. digitalWrite(Q, HIGH);
  1132. digitalWrite(R, HIGH);
  1133. digitalWrite(S, HIGH);
  1134. delay(d);
  1135. //92
  1136. digitalWrite(A, HIGH);
  1137. digitalWrite(B, HIGH);
  1138. digitalWrite(J, HIGH);  
  1139. digitalWrite(K, HIGH);
  1140. digitalWrite(L, HIGH);
  1141. digitalWrite(M, HIGH);
  1142. digitalWrite(N, HIGH);
  1143. digitalWrite(P, HIGH);  
  1144. digitalWrite(Q, HIGH);
  1145. digitalWrite(R, HIGH);
  1146. digitalWrite(S, HIGH);
  1147. delay(d);
  1148. //93
  1149. digitalWrite(A, HIGH);
  1150. digitalWrite(B, HIGH);
  1151. digitalWrite(C, HIGH);
  1152. digitalWrite(J, HIGH);  
  1153. digitalWrite(K, HIGH);
  1154. digitalWrite(L, HIGH);
  1155. digitalWrite(M, HIGH);
  1156. digitalWrite(N, HIGH);
  1157. digitalWrite(P, HIGH);  
  1158. digitalWrite(Q, HIGH);
  1159. digitalWrite(R, HIGH);
  1160. digitalWrite(S, HIGH);
  1161. delay(d);
  1162. //94
  1163. digitalWrite(A, HIGH);
  1164. digitalWrite(B, HIGH);
  1165. digitalWrite(C, HIGH);
  1166. digitalWrite(D, HIGH);
  1167. digitalWrite(J, HIGH);  
  1168. digitalWrite(K, HIGH);
  1169. digitalWrite(L, HIGH);
  1170. digitalWrite(M, HIGH);
  1171. digitalWrite(N, HIGH);
  1172. digitalWrite(P, HIGH);  
  1173. digitalWrite(Q, HIGH);
  1174. digitalWrite(R, HIGH);
  1175. digitalWrite(S, HIGH);
  1176. delay(d);
  1177. //95
  1178. digitalWrite(A, HIGH);
  1179. digitalWrite(B, HIGH);
  1180. digitalWrite(C, HIGH);
  1181. digitalWrite(D, HIGH);
  1182. digitalWrite(E, HIGH);
  1183. digitalWrite(J, HIGH);  
  1184. digitalWrite(K, HIGH);
  1185. digitalWrite(L, HIGH);
  1186. digitalWrite(M, HIGH);
  1187. digitalWrite(N, HIGH);
  1188. digitalWrite(P, HIGH);  
  1189. digitalWrite(Q, HIGH);
  1190. digitalWrite(R, HIGH);
  1191. digitalWrite(S, HIGH);
  1192. delay(d);
  1193. //96
  1194. digitalWrite(A, HIGH);
  1195. digitalWrite(B, HIGH);
  1196. digitalWrite(C, HIGH);
  1197. digitalWrite(D, HIGH);
  1198. digitalWrite(E, HIGH);
  1199. digitalWrite(F, HIGH);
  1200. digitalWrite(J, HIGH);  
  1201. digitalWrite(K, HIGH);
  1202. digitalWrite(L, HIGH);
  1203. digitalWrite(M, HIGH);
  1204. digitalWrite(N, HIGH);
  1205. digitalWrite(P, HIGH);  
  1206. digitalWrite(Q, HIGH);
  1207. digitalWrite(R, HIGH);
  1208. digitalWrite(S, HIGH);
  1209. delay(d);
  1210. //97
  1211. digitalWrite(A, HIGH);
  1212. digitalWrite(B, HIGH);
  1213. digitalWrite(C, HIGH);
  1214. digitalWrite(D, HIGH);
  1215. digitalWrite(E, HIGH);
  1216. digitalWrite(F, HIGH);
  1217. digitalWrite(G, HIGH);
  1218. digitalWrite(J, HIGH);  
  1219. digitalWrite(K, HIGH);
  1220. digitalWrite(L, HIGH);
  1221. digitalWrite(M, HIGH);
  1222. digitalWrite(N, HIGH);
  1223. digitalWrite(P, HIGH);  
  1224. digitalWrite(Q, HIGH);
  1225. digitalWrite(R, HIGH);
  1226. digitalWrite(S, HIGH);
  1227. delay(d);
  1228. //98
  1229. digitalWrite(A, HIGH);
  1230. digitalWrite(B, HIGH);
  1231. digitalWrite(C, HIGH);
  1232. digitalWrite(D, HIGH);
  1233. digitalWrite(E, HIGH);
  1234. digitalWrite(F, HIGH);
  1235. digitalWrite(G, HIGH);
  1236. digitalWrite(H, HIGH);
  1237. digitalWrite(J, HIGH);  
  1238. digitalWrite(K, HIGH);
  1239. digitalWrite(L, HIGH);
  1240. digitalWrite(M, HIGH);
  1241. digitalWrite(N, HIGH);
  1242. digitalWrite(P, HIGH);  
  1243. digitalWrite(Q, HIGH);
  1244. digitalWrite(R, HIGH);
  1245. digitalWrite(S, HIGH);
  1246. delay(d);
  1247. //99
  1248. digitalWrite(A, HIGH);
  1249. digitalWrite(B, HIGH);
  1250. digitalWrite(C, HIGH);
  1251. digitalWrite(D, HIGH);
  1252. digitalWrite(E, HIGH);
  1253. digitalWrite(F, HIGH);
  1254. digitalWrite(G, HIGH);
  1255. digitalWrite(H, HIGH);
  1256. digitalWrite(I, HIGH);
  1257. digitalWrite(J, HIGH);  
  1258. digitalWrite(K, HIGH);
  1259. digitalWrite(L, HIGH);
  1260. digitalWrite(M, HIGH);
  1261. digitalWrite(N, HIGH);
  1262. digitalWrite(P, HIGH);  
  1263. digitalWrite(Q, HIGH);
  1264. digitalWrite(R, HIGH);
  1265. digitalWrite(S, HIGH);
  1266. delay(d);
  1267. digitalWrite(A, LOW);  
  1268. digitalWrite(B, LOW);
  1269. digitalWrite(C, LOW);
  1270. digitalWrite(D, LOW);
  1271. digitalWrite(E, LOW);
  1272. digitalWrite(F, LOW);
  1273. digitalWrite(G, LOW);
  1274. digitalWrite(H, LOW);
  1275. digitalWrite(I, LOW);
  1276. digitalWrite(J, LOW);
  1277. digitalWrite(K, LOW);
  1278. digitalWrite(L, LOW);
  1279. digitalWrite(M, LOW);
  1280. digitalWrite(N, LOW);
  1281. digitalWrite(P, LOW);
  1282. digitalWrite(Q, LOW);
  1283. digitalWrite(R, LOW);
  1284. digitalWrite(S, LOW);
  1285. delay(d1);
  1286. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top