Filter Transform


This program outputs (po) the filtered sum of two inputs (pi, si) using the following formula:

  • po = (1 - r) po + r (pi + si) / 2

where rate r = 1/256 or 1/65768

	     ATtiny45
	      --v--
    rst pb5 -|     |- vcc
     pi pb3 -|     |- pb2 sck led
     po pb4 -|     |- pb1 miso
	gnd -|     |- pb0 mosi si
	      -----  
	       8Mhz

http:files/DownloadParts/filter.asm

 

Last edited March 5, 2006
Return to WelcomeVisitors