// Arrow left
#include <16f84.h> // library
#use delay(clock=4000000) // frequency
#fuses xt,protect // fuses
#use fast_io(b) // saves memory
// Variable of type integer 8bit and constant to save memory
int8 const matriz[221]={0b00000010,0b00000011,0b00000010,0b00010010,
0b00011010,0b00010010,0b00011010,0b00010010,0b00011010,0b00010010,0b00011010,0b00010010,
0b00011010,0b00010010,0b00011010,0b00010010,0b00011010,0b00010010,0b00011010,0b00010010,
0b00110010,0b00010010,0b00000010,0b00001010,0b00000010,0b00010010,
0b00011010,0b00010010,0b00011010,0b00010010,0b00011010,0b00010010,0b00011010,0b00010010,
0b00110010,0b00010010,0b00011010,0b00010010,0b00011010,0b00010010,0b00011010,0b00010010,
0b00011010,0b00010010,0b000101100,0b00010010,
0b00011010,0b00010010,0b00011010,0b00010010,0b00011010,0b00010010,0b00011010,0b00010010,
0b00110010,0b00010010,
0b00011010,0b00010010,0b00011010,0b00010010,0b00011010,0b00010010,0b00011010,0b00010010,
0b00011010,0b00010010,
0b00110010,0b00010010,0b00000000,0b00000001,0b00000000,0b00000100,0b00000000,
0b00000010,0b00000011,0b00000010,
0b00001010,0b00000010,0b00001010,0b00000010,0b00001010,0b00000010,
0b00011010,0b00010010,0b00011010,0b00010010,0b00011010,0b00010010,
0b00110010,0b00010010,
0b00011010,0b00010010,0b00011010,0b00010010,0b00011010,0b00010010,
0b00011010,0b00010010,0b00011010,0b00010010,
0b00011010,0b00010010,0b00011010,0b00010010,0b00011010,0b00010010,
0b00011010,0b00010010,0b00011010,0b00010010,
0b00011010,0b00010010,0b00011010,0b00010010,0b00011010,0b00010010,
0b00110010,0b00010010,
0b00010001,0b00010000,0b00010001,0b00010000,0b00010001,0b00010000,
0b00010001,0b00010000,0b00010001,0b00010000,0b00010001,0b00010000,
0b00010001,0b00010000,
0b00010001,0b00010000,0b00010001,0b00010000,0b00010001,0b00010000,
0b00010001,0b00010000,0b00010001,0b00010000,
0b00010001,0b00010000,0b00010001,0b00010000,0b00010001,0b00010000,
0b00010001,0b00010000,
0b00010010,0b00010011,0b00010010,0b00010001,0b00010000,0b00010001,
0b00010000,0b00010100,0b00010000,
0b00000000,0b00001000,0b00000000,0b00001000,0b00000000,0b00001000,
0b00000000,0b00001000,0b00000000,0b00001000,0b00000000,
0b00010000,0b00011000,0b00010000,0b00011000,0b00010000,0b00100000,0b00000000,
0b00010000,0b00011000,0b00010000,0b00011000,0b00010000,0b00011000,0b00010000,
0b00011000,0b00010000,0b00011000,0b00010000,
0b00010000,0b00011000,0b00110000,0b00010000,0b00010001,0b00010000,0b00010001,
0b00010000,0b00010001,0b00010000,
0b00010001,0b00010000,0b00010001,0b00010000,0b00010001,0b00010000,0b00010001,
0b00010000,0b00010001,0b00010000,0b00010001,0b00010000,
0b00010001,0b00010000,0b00010001,0b00010000,0b00010001,0b00010000,0b00010001,
0b00010000,0b00010001,0b00010000,0b00000100};
void main (){ //main function
int i; // Variable
set_tris_b(0x00);// set the pin as input or output
set_tris_a(0xff);
while (true){ // while actually infinite loop
for(i=0;i<221;i++){ // loop
output_b(matriz[i]); // Call the vector or binary numbers
delay_us(25); // Here you choose the time}
}
}
|