dip.inc
changeset 89 1b3cea759eff
parent 88 c923295ee520
child 90 13c2deb919d1
--- a/dip.inc	Mon Jun 02 18:27:08 2014 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-;;
-;; Reading DIP switches from SPI
-;;
-
-.set DIP_BUFFER = spi_inbuf + 1
-
-;; Read state of dip switches
-;;  Output: r16
-DIP_Read8:
-		; update
-;		rcall		SPI_SendRecv
-		
-		; get bits
-		lds			r16, DIP_BUFFER
-
-		ret
-