Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 25, 2024, 08:01:04 08:01


Login with username, password and session length


Pages: [1]
Print
Author Topic: Could someone help me please  (Read 3024 times)
0 Members and 1 Guest are viewing this topic.
Scooter_3D
Guest
« on: November 29, 2008, 04:55:20 16:55 »

I have made this scope clock http://www.jogis-roehrenbude.de/Leserbriefe/Scope-Clock/Scope-Clock.htm
and would like to change the way the clock face looks, what would I need to change in the source files to do this ??
I know nothing about coding and Im not asking for someone to do it for me just point me in the right direction

Thanks



Administrator's Note: Help & Rules board #27
http://www.sonsivri.com/forum/index.php?topic=7494.0
Use clear understandable post subject. Nobody have to read your "I need Help" subjected post.
« Last Edit: November 29, 2008, 05:57:08 17:57 by SONSiVRi » Logged
hagen
Newbie
*
Offline Offline

Posts: 16

Thank You
-Given: 16
-Receive: 17


« Reply #1 on: November 29, 2008, 08:13:05 20:13 »

Have a look into
                         scDataGen.c

The routine
             void MakeSimplePtr(char *name, float r1)
takes care of the simple hand

and
             void MakeTriangPtr(char *name, float r1, float r2)
generates the triangle shape hands.

Now change the math according to your specific design.

You need the compiler / assembler package used by the author.

It is a Linux program "Paul's 8031 Assembler" found at
              http://www.pjrc.com/tech/8051/
plus gnu-c.

Run make and the c- source will be compiled by gcc and started.
 
It will generate a set of data for the assembler program.
By redirecting the output into a file ScopeClockData.a51, it generates the
required data for the assembler program scopeclock.a51.

The resulting Hex file has to be "burned" into the chip.
You need to have a specific programmer to  do this.
A simple design is available at the Atmel homepage.

Sounds a bit frightening- but visit the above mentioned page and find a very
sufficient support for the tools required- including the programmer and also for
windows.

If you take an AT89S4051 you can easily program the chip in the system.
Find the info at Atmels homepage.

Wish you a lot of fun
Logged
Scooter_3D
Guest
« Reply #2 on: December 04, 2008, 02:51:34 14:51 »

Thanks for your reply now i need to work out how to use them programs in vista
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC