[McHUG] PICAXE Again
Peter Morton
mortonph at comcast.net
Thu Dec 11 00:30:29 EST 2008
Sounds like you/re getting your Aspire One fully loaded with all your old
stuff. How is it working out so far? I was checking them out on the
internet. What features do you have? Hard drive or flash drive, three or
six-cell battery, Linux or Windows, etc.
I was having trouble with the DDS60 shut down. I wanted to use the
power-down bit of the AD9851 to turn the DDS60 off and on for Morse. After
many Serial.print-s trying to troubleshoot code, I finally gave up and wrote
a simple test program dedicated to the DDS60 alone. Finally determined that
when the AD9851 is powered-down using bit W34 of the serial word, the chip
resorts back to parallel data input mode. It has to be reset to serial data
input mode before it can be turned back on. This is not indicated on the
AD9851 data sheet. In fact, the discussion of the power down feature is in
the serial data description section of the data sheet on page 16, and it
mentions nothing about it dropping back into parallel mode.
I also discovered that the Arduino development system searches the
sketchbook AND the libraries for .h and .cpp files. I was using the Arduino
editor to edit library files, saving as a sketch, and copying and pasting
the text into a Notebook file and saving in the library area. To compile
the library, Arduino has to be exited and restarted. It then reported
duplicate definitions of functions, etc. If you make simple changes in
Notebook and resave, the old file in the Sketchbook and the updated file in
the library are different and the compiler catches the differences, too. I
have been deleting duplicate library files in the Sketchbook so object files
can be created in the hardware library section. But, now I'm wondering if
we could just make new libraries in the Sketchbook, say, have a Sketchbook
subsection dedicated to libraries. You then wouldn't have to keep copying
and pasting and restarting. Something to try.
Hacking away.
-Pete, W3GVX
----- Original Message -----
From: "Rich Mitchell" <geobra at att.net>
To: "McHUG Reflector" <mchug at mailman.qth.net>
Sent: Wednesday, December 10, 2008 9:39 PM
Subject: [McHUG] PICAXE Again
[snip]
More information about the McHUG
mailing list