#include "SR_iParol.h"
void setup() {
// put your setup code here, to run once:
SR_Init();
}
void loop() {
// put your main code here, to run repeatedly:
circle();
arc();
triangle();
allkilled();
haha();
diamond();
huhu();
}
void circle()
{
write(14,1);
delay(200);
write(46,1);
delay(200);
write(6,1);
delay(200);
write(20,1);
delay(200);
write(33,1);
delay(200);
write(7,1);
delay(200);
write(21,1);
delay(200);
write(34,1);
delay(200);
write(48,1);
delay(200);
write(52,1);
delay(200);
write(4,1);
delay(200);
write(12,1);
delay(200);
write(19,1);
delay(200);
write(26,1);
delay(200);
write(31,1);
delay(200);
write(39,1);
delay(200);
write(44,1);
delay(200);
}
void arc()
{
write(47,1);
write(8,1);
write(22,1);
write(35,1);
delay(200);
write(1,1);
write(11,1);
write(17,1);
write(25,1);
write(28,1);
write(38,1);
write(43,1);
write(51,1);
delay(200);
write(0,1);
write(5,1);
write(13,1);
write(18,1);
write(27,1);
write(32,1);
write(40,1);
write(45,1);
delay(200);
}
void triangle()
{
write(49,1);
write(50,1);
delay(200);
write(2,1);
write(3,1);
delay(200);
write(9,1);
write(10,1);
delay(200);
write(15,1);
write(16,1);
delay(200);
write(23,1);
write(24,1);
delay(200);
write(29,1);
write(30,1);
delay(200);
write(36,1);
write(37,1);
delay(200);
write(41,1);
write(42,1);
delay(500);
}
void allkilled()
{
write(49,0);
write(50,0);
write(41,0);
write(42,0);
write(36,0);
write(37,0);
write(0,0);
write(1,0);
write(2,0);
write(3,0);
write(4,0);
write(5,0);
write(6,0);
write(7,0);
write(8,0);
write(9,0);
write(10,0);
write(11,0);
write(12,0);
write(13,0);
write(14,0);
write(15,0);
write(16,0);
write(17,0);
write(18,0);
write(19,0);
write(20,0);
write(21,0);
write(22,0);
write(23,0);
write(24,0);
write(23,0);
write(24,0);
write(25,0);
write(26,0);
write(27,0);
write(28,0);
write(29,0);
write(30,0);
write(31,0);
write(32,0);
write(33,0);
write(34,0);
write(35,0);
write(39,0);
write(40,0);
write(38,0);
write(43,0);
write(44,0);
write(45,0);
write(46,0);
write(47,0);
write(48,0);
write(51,0);
write(52,0);
delay(800);
}
void haha()
{
write(2,1);
write(3,1);
delay(200);
write(9,1);
write(10,1);
delay(200);
write(15,1);
write(16,1);
delay(200);
write(23,1);
write(24,1);
delay(200);
write(29,1);
write(30,1);
delay(200);
write(36,1);
write(37,1);
delay(200);
write(41,1);
write(42,1);
delay(200);
}
void diamond()
{
write(46,1);
write(6,1);
write(20,1);
write(33,1);
write(51,1);
write(43,1);
write(38,1);
write(28,1);
write(25,1);
write(17,1);
write(11,1);
write(1,1);
}
void huhu()
{
write(47,1);
delay(100);
write(8,1);
delay(100);
write(22,1);
delay(100);
write(35,1);
delay(100);
}