[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Uisp-dev] power lines from stk200
From: |
Wojtek Kaniewski |
Subject: |
[Uisp-dev] power lines from stk200 |
Date: |
Fri, 14 Jan 2005 20:19:55 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20040913 Thunderbird/0.8 Mnenhy/0.6.0.104 |
here's a patch that sets all control lines of parallel port to 1 when
using stk200, so the programmed device can be powered directly from
parallel port.
regards,
wojtek
--- src/DAPA.C 17 Nov 2004 02:59:37 -0000 1.22
+++ src/DAPA.C 14 Jan 2005 18:49:57 -0000
@@ -934,7 +934,7 @@
break;
case PAT_STK200:
- par_ctrl = 0;
+ par_ctrl = 0x08;
par_data = 0xFF & ~(STK2_ENA1 | STK2_SCK);
break;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Uisp-dev] power lines from stk200,
Wojtek Kaniewski <=