Re: [Fx2lib-devel] "lights" fix for CY3681
Status: Beta
Brought to you by:
mulicheng
From: Dennis M. <de...@ub...> - 2009-09-17 20:06:08
|
Resurrecting old thread. I added these memory addresses to lights.h. You can enable them by defining FX1 before you include this header. example: SDCCFLAGS=-DFX1 make (assuming your make file adds the SDCCFLAGS to sdcc options). Anyway, there are a few other fx1/fx2 differences but this is a start to making the library work for both versions. Aric Marheine wrote: > These are the addresses for the lights on the CY3681 board: > > volatile xdata at 0x8000 BYTE D2ON; > volatile xdata at 0x8100 BYTE D2OFF; > volatile xdata at 0x9000 BYTE D3ON; > volatile xdata at 0x9100 BYTE D3OFF; > volatile xdata at 0xA000 BYTE D4ON; > volatile xdata at 0xA100 BYTE D4OFF; > volatile xdata at 0xB000 BYTE D5ON; > volatile xdata at 0xB100 BYTE D5OFF; > |