## Skriet / The Scream / Skrik

My friend Emmy wanted an exhibition at her gallery ItchySoul Atelje in Malmö so she asked her friends to make a rendition of Edward Munch’s “the scream”
She handed out canvases  20 by 20 cm in size and we all started to work on it. The Vernissage has alredy been so I thought I’d share what I did here.

First of, I’m no master painter, I used sharpies and duct tape. I wanted to make something more robotic with straight edges. And I wanted the robot to scream. A little like the death-screams of a portal gun-tower. For this I used a attiny 13v, two leds, a speaker, asome batteries and a little code. It does scream at uneven intervals. It’s all based on the tiny arduino loader, so it was pretty easy to code.

More for source!

`` #include #include #ifndef cbi #define cbi(sfr, bit) (_SFR_BYTE(sfr) &= ~_BV(bit)) #endif #ifndef sbi #define sbi(sfr, bit) (_SFR_BYTE(sfr) |= _BV(bit)) #endif volatile boolean f_wdt = 1; #define p1 1 #define p2 0 void setup() { // initialize the digital pin as an output. // Pin 13 has an LED connected on most Arduino boards: pinMode(p1,OUTPUT); pinMode(p2,OUTPUT); setup_watchdog(9); // approximately 4 seconds sleep doabatch(); } void doabatch() { int i=0; int a=0; while (true) { // a=i/3>>(i%(2%40)+i/20000)|i/(24+i&3)>>(i%(15-((i>>150)%8)*6)+5); a= i*(((i>>12)|(i>>8))&(63&(i>>4))); // a=i%(valA/4); // a=i%256; if(a 9 ) ii=9; bb=ii & 7; if (ii > 7) bb|= (1< ``