O-Clock - Fixed!
I managed to fix the left-right mirroring of sparkfun's O-Clock on my cheap 'scope by tweaking the firmware.
I downloaded AvrStudio4,
the source &
the uploader.
In AvrStudio I set Configuration options|Custom Options
gcc: C:\WinAVR-20100110\bin\avr-gcc.exe
make: C:\WinAVR-20100110\utils\bin\make.exe
Then make the following source changes
In ClkConfig.h edit:
#define ds1307 1 // Sparkfun Hardware
#define pcf8563 0 // Dutchtronix Hardware
and, at the bottom, add:
#define INVERT_X 1
//#define INVERT_Y 1
In ClkRender.s, look for DACXYPos and DACYXPos subroutines. Both have two parts like this
#if INVERT
neg r22 ; map [X/Y] origin
#endif
In each subroutine, change the first occurrence to #if INVERT_X and the second to #if INVERT_Y (even though the comment may mention the other coordinate).
Build, then follow Firmware upgrading instructions.
See the set.
O-Clock - Fixed!
I managed to fix the left-right mirroring of sparkfun's O-Clock on my cheap 'scope by tweaking the firmware.
I downloaded AvrStudio4,
the source &
the uploader.
In AvrStudio I set Configuration options|Custom Options
gcc: C:\WinAVR-20100110\bin\avr-gcc.exe
make: C:\WinAVR-20100110\utils\bin\make.exe
Then make the following source changes
In ClkConfig.h edit:
#define ds1307 1 // Sparkfun Hardware
#define pcf8563 0 // Dutchtronix Hardware
and, at the bottom, add:
#define INVERT_X 1
//#define INVERT_Y 1
In ClkRender.s, look for DACXYPos and DACYXPos subroutines. Both have two parts like this
#if INVERT
neg r22 ; map [X/Y] origin
#endif
In each subroutine, change the first occurrence to #if INVERT_X and the second to #if INVERT_Y (even though the comment may mention the other coordinate).
Build, then follow Firmware upgrading instructions.
See the set.