RE: newbee question
"Dave McLaughlin" <[email protected]>
| Newsgroups | gmane.comp.hardware.rabbit-semiconductor |
|---|---|
| Message-ID | <[email protected]> |
Read the second part of Scott's email below!! :) From: [email protected] [mailto:[email protected]] On Behalf Of Sylvain Bissonnette Sent: 02 March 2013 03:22 To: [email protected] Subject: Re: [rabbit-semi] newbee question Hi, Thanks for your help but I have the error : line 15 : ERROR Rabbit.C : SPCE is out of scope/ not declared. And where I can find the datasheet with this information, I only have the Dynamic C manual, Digi site is a real pain Again thanks Sylvain Bissonnette On Thu, Feb 28, 2013 at 10:44 PM, Scott Henion <[email protected]> wrote: On 2/28/2013 10:42 PM, Scott Henion wrote: > You need to set port A as an output, look at the SPCR docs: > > At start, add WrPortI(SPCE,SPCRShadow,0x84); Make that: WrPortI(SPCR, &SPCRShadow, 0x84); -- ------------------------------------------ Scott G. Henion, Consultant Web site: http://SHDesigns.org ------------------------------------------