Re: U Watch programming question.. Message #7 Posted by DaveJ on 8 June 2008, 8:13 p.m., in response to message #5 by Hubert Weikert
Quote:
Geoff,
There is a sort of XEQ available.
You can call a another stored keystroke sequence by using PLAY xx
(xx is a number between 00 and 59).
This way 'PLAY xx' is equivalent with 'XEQ xx'.
Conditional jumps are not available, also no GTO or RTN.
For the A to F labels I am also keen to learn more.
Have you initially cleared the EEPROM? This takes some time, but seems to be necessary to initiate the keystroke memory.
Second, have you terminated the key sequence recording at the end of your program by pressing the MODE key?
I really need to get a user manual for the watch up on the site, but I've been pretty busy lately. The "early adopters" have been running a bit blind, sorry about that!
You shouldn't need to erase the EEPROM first for the macro programming to work, but I'll check this out.
The A-F entry labels are for entering hex numbers for a potential up coming base-N conversion routine. So at the moment they allow you to enter HEX digits, but they do nothing.
Other stuff on the to-do list is details on making the programming cable, although it's pretty obvious from the schematic and the PICkit2 documentation.
The programming mode was never intended to be more than a simple macro key recording function, as I have no need for it personally. But that's not to stop someone coming up with their own firmware to allow this. It looks like it would be fairly messy to add conditional jumps and other programming features to the current macro recording functions, so I suspect it's "all or nothing" in this respect.
A serious programming machine also needs named programs and the ability to edit and upload/download programs.
Do people *really* need full programming capability in such a watch?
As mentioned before, I think hard coding your favourite programs into the uWatch source code is a better way to go. That's why the source code is open source and I've deliberately tried to keep it simple. And the programmer is only $35 too.
Dave.
|