#garfield Logs
Nov 04 2012
#garfield Calendar
01:19 rue_house ifny, hows life?
01:19 rue_house Tom_itx, hows sleep?
01:22 TELunus|2 Slow. More accurately I don't have any assignments at the moment, but my group project is slow.
01:24 rue_house whats the current project
08:50 Tom_itx it was good
08:51 Tom_itx extra hour
13:06 rue_house heh
13:07 rue_house I was working on the temperature chrater when the clock flipped, the system stopped taking new values for an hour
13:07 rue_house charter
13:07 rue_house now I can scale the graph however I like
13:13 Tom_itx surprised it didn't give you 2x the data
13:15 rue_house nice to have the usb programmer
13:15 rue_house somehow I think I have another usb programmer around, but I cant for the life of me remember it
13:15 rue_house I got an led flashing yesterday, so I'm set
13:16 rue_house http://www.ebay.ca/itm/320573347678?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1497.l2649
13:16 rue_house I'm gonna be interested to see that.
13:17 rue_house bought 5 breadbaords...
13:22 Tom_itx yeah it's nice to have a few laying around :)
13:28 Tom_itx you should have an official one though
20:40 rue_house pff
20:49 rue_house ok, so if I tie in the interrupts I should have the motor step sequencer
21:20 Tom_itx you still usin mega32 for this?
21:29 rue_house no,
21:30 rue_house one tiny26 4 inputs step/dir x2 and 8 outputs (phase 1-4) x2
21:30 rue_house I have other inputs I could use for selection of full/half step
21:31 Tom_itx so 2 drives per tiny?
21:31 rue_house I used pin change interrupt for the step lines, the interrupt samples the dir line for that motor when it does the steps
21:31 rue_house yes
21:31 rue_house want copy?
21:31 Tom_itx umm
21:32 Tom_itx sure
21:32 rue_house it could come in handy some day
21:32 Tom_itx gotta fire up the other pc though
21:32 Tom_itx brb
21:33 rue_house !assist projects/reprap
21:33 tobbor Possibly http://eds.dyndns.org/~ircjunk/projects/reprap
21:34 rue_house http://eds.dyndns.org/~ircjunk/projects/reprap/stepseq.tgz
21:34 Tom_itx wait!
21:34 rue_house http://eds.dyndns.org/~ircjunk/projects/reprap/stepseq/
21:34 rue_house heh
21:34 e_house waits for tom to boot the other machin
21:34 Tom_L ok
21:34 rue_house http://eds.dyndns.org/~ircjunk/projects/reprap/stepseq.tgz
21:34 rue_house http://eds.dyndns.org/~ircjunk/projects/reprap/stepseq/
21:38 Tom_L what's binary inc for/
21:38 Tom_L ?
21:39 Tom_L why do you need to define those?
21:40 Tom_L you shouldn't use signal either
21:40 Tom_L your compiler is old
21:41 Tom_L use ISR(xx){}
21:41 Tom_L instead
21:42 Tom_L i get errors
21:42 rue_house I forgot to remove binary.inc
21:42 Tom_L ain.c:50: warning: unused variable 'temp'
21:43 Tom_L ain.c:116: warning: array subscript has type 'char'
21:43 rue_house I always use signal cause the other way never works for me
21:43 Tom_L c:/winavr/lib/gcc/../../avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete. Use <avr/interrupt.h>."
21:43 rue_house those aren't errors, their warnings
21:43 rue_house WARNINGS
21:43 Tom_L so you don't need binary.inc?
21:43 rue_house THEY MEAN NOTHING TO ME! NOTHING!
21:44 rue_house yes you do
21:44 rue_house sometimes I want to specify numbers in binary
21:44 Tom_L <rue_house> I forgot to remove binary.inc
21:44 Tom_L you can't address a number as binary anyway?
21:44 rue_house yea, I didnt use binary numbers in this one
21:44 Tom_L i thought you could
21:45 rue_house actually I should have done the step codes in binary
21:46 Tom_L maybe char should be uint8 instead
21:46 Tom_L maybe char should be uint8_t instead
21:46 Tom_L ?
21:46 rue_house just warnings, ignore them
21:47 Tom_L i don't like warnings
21:47 Tom_L they are warnings
21:47 rue_house int cheat[] = { 0x0A, 0x06, 0x09, 0x05 }; // grey count with inversions
21:47 rue_house should be
21:48 rue_house int cheat[] = { b1010, b0110, b1001, b0101 }; // grey count with inversions
21:48 Tom_L int temp; line 50 unused
21:48 rue_house its right
21:48 rue_house its from the template I used
21:48 Tom_L it dissappeared
21:48 Tom_L just like that
21:49 Tom_L i started to code and couldn't focus so i quit
21:49 rue_house ?
21:49 Tom_L i did one small bit and called it quits
21:49 Tom_L fixing my dos program
21:49 rue_house for code that did that?
21:50 Tom_L no
21:50 Tom_L for work
21:50 rue_house dos program for work?
21:50 Tom_L i still use it
21:50 Tom_L all my clients, payroll etc
21:50 rue_house ah
21:50 rue_house a program survived from the good ole days
21:51 Tom_L still in use
21:51 Tom_L take too much trouble to write it again
21:51 Tom_L and still wouldn't work as good
21:51 rue_house static unsigned char index = 0;
21:51 rue_house works
21:52 rue_house you lost the source?
21:52 Tom_L no
21:52 Tom_L just makin a couple changes
21:53 rue_house wonder if I should modify binary.inc to do everything from 1 to 8 bits
21:53 rue_house iirc I have a program kicking around that generated it
21:53 Tom_L compiles to 528k
21:53 rue_house I'm happy, I havn't coded anything up for an avr in a long time
21:54 rue_house thats big for a dos program
21:54 Tom_L i need to keep at it or i'll forget
21:54 Tom_L yep
21:54 rue_house C?
21:54 rue_house pascall?
21:54 Tom_L clipper
21:54 rue_house ?
21:54 Tom_L sorta pascal
21:54 Tom_L pascal like
21:54 rue_house freeware language?
21:54 Tom_L can include asm and c
21:54 Tom_L nono
21:54 Tom_L i bought it a long time ago
21:54 Tom_L it was like dbase
21:55 Tom_L but compiled
21:55 Tom_L much faster
21:55 Tom_L i use dbase once in a while still
21:56 Tom_L i wrote a point of sale once for a friend in it
22:07 rue_house ah, so the software was paid for
22:12 Tom_L yeah
22:12 Tom_L another thing that paid for itself many times over
22:13 Tom_itx time change is gettin to me
22:18 rue_house yea its not bedtime yet
22:18 rue_house still seems to be an hour to go