#avr | Logs for 2015-11-11

Back
[02:31:59] <abcminiuser> No one here is using AS7? Really?
[04:50:27] <Lambda_Aurigae> abcminiuser, not I...
[04:52:08] <abcminiuser> Dangit
[04:52:14] <abcminiuser> Hard to test when no one uses it
[04:52:16] <abcminiuser> :(
[04:54:03] <Lambda_Aurigae> it just won't run on my computer.
[04:54:14] <Lambda_Aurigae> I did try once.
[04:54:25] <Lambda_Aurigae> after 4 hours I killed the installer.
[04:54:41] <abcminiuser> Web installer or offline version?
[04:54:51] <Lambda_Aurigae> offline version.
[04:54:59] <Lambda_Aurigae> web installer horked hairballs on startup.
[04:55:12] <Lambda_Aurigae> this thing only has 16GB of ram on a quad core amd.
[04:55:14] <abcminiuser> Running it on a VAX?
[04:55:17] <abcminiuser> Ah
[04:55:19] <Lambda_Aurigae> linux
[04:55:19] <abcminiuser> Hrm
[04:55:24] <Lambda_Aurigae> no winblows here.
[04:55:30] <Lambda_Aurigae> tried wine...it whined.
[04:55:31] <abcminiuser> Oh yues well, no surprise there
[04:55:38] <Lambda_Aurigae> hehe.
[04:55:50] <twnqx> i have the same problem
[04:55:56] <twnqx> plus, i hate the clutter IDEs cause
[04:56:30] <abcminiuser> Damn, I'
[04:56:41] <abcminiuser> I'm in a room full of techo-hippies
[04:56:51] <abcminiuser> ('scuse the typos, not used to my new mechanical keyboard)
[04:56:58] * Lambda_Aurigae takes a toke on /dev/rand
[04:57:20] <twnqx> do as i do: ignore your typos as long as people will likely get it
[04:57:50] <abcminiuser> hlp stuck n a tpo factoiry
[04:58:33] <Jartza> g'day
[04:58:47] <Lambda_Aurigae> yesterday morning at this time it was 30F outside...today it is 50F.
[04:59:32] <Jartza> about 6C here
[05:01:34] <Lambda_Aurigae> 43F,,,not bad.
[05:01:48] <Lambda_Aurigae> considering the time of year and northern hemisphere and all.
[05:02:05] <Lambda_Aurigae> just the major change in temp in 24 hours is what gets me here.
[05:02:42] <twnqx> abcminiuser: i wrote a minor program to swap two neighboring keys, back in the DOS days
[05:02:49] <twnqx> drove my IT teacher mad :3
[05:02:55] <twnqx> (he was the victim of it)
[05:03:12] <abcminiuser> You're a monster :P
[05:03:18] <Lambda_Aurigae> IT teacher......IT wasn't even a thing when I was in school!
[05:03:19] <Lambda_Aurigae> hehe
[05:03:30] <abcminiuser> I just made the lab computers open and close the CD drive randomly
[05:03:34] <twnqx> of course not constantly, only one pair, and that would switch immediately after triggering
[05:04:07] <Lambda_Aurigae> diskwasher was my big achievement in highschool.
[05:04:14] <Lambda_Aurigae> an apple-2 virus.
[05:04:42] <twnqx> abcminiuser: i wonder... if one could do USB HID MITM for that purpose, today...
[05:04:54] <Lambda_Aurigae> when you put a disk in the drive it would spin up the drive and slam the head back and forth to the ends of travel...which made one hell of a noise...and display a message that water was found on the disk and spin cycle was being run.
[05:05:05] <Lambda_Aurigae> it did no damage but sounded like it was eating the disk.
[05:05:55] <Lambda_Aurigae> twnqx, like a keylogger but a random keyswapper...doable with something with usb-otg and usb-device ports...two microcontrollers usually as few have two usb ports.
[05:06:33] <abcminiuser> Oh right, I made a USB widget at a former company that rotated the screen upside down randomly
[05:06:37] <Lambda_Aurigae> or just a little usb dongle that sends random backspace/key combos.
[05:06:55] <abcminiuser> And another that locked the computer every 5 mins - told my poor coworker it was a new security policy from IT
[05:07:02] <Lambda_Aurigae> hehe.
[05:07:05] <twnqx> lol
[05:07:11] <abcminiuser> Lasted all day until I broke down, I used a REALLY TINY USB AVR board for it
[05:07:22] <Lambda_Aurigae> I have one here that wiggles the mouse by a couple of pixels once a minute.
[05:07:47] <abcminiuser> USB2AX, just found the board
[05:07:47] <Lambda_Aurigae> to keep computer from going to sleep.
[05:07:56] <cehteh> lol
[05:08:14] <cehteh> wtf computer is that where you cant configure that?
[05:08:42] <Lambda_Aurigae> cehteh, corporate computer that autolocks after 10 minutes.
[05:08:47] <cehteh> http://digistump.com/products/1
[05:08:58] <Lambda_Aurigae> can't set it longer or the system throws a fit and changes it back.
[05:09:06] <Lambda_Aurigae> security, doncha know.
[05:09:11] <cehteh> have a few from these, buillding server watchdogs from them with remote reboot etc
[05:09:35] <cehteh> Lambda_Aurigae: on a real tight security it wont accept unknown USB devices
[05:09:49] <Lambda_Aurigae> yeah..not really tight...
[05:09:52] <Lambda_Aurigae> just annoyingly so.
[05:10:19] <cehteh> i am also planning to make a small hardware random generator out of those ... lets see :)
[05:10:20] <Lambda_Aurigae> I have to be able to use various usb devices in my work but they don't want the computer left logged in and accessable for too long.
[05:10:49] <Lambda_Aurigae> https://hackaday.io/project/6258-two-component-usb-temperature-data-logger I've been playing with variations on this.
[05:11:06] <Lambda_Aurigae> pic based, but, that chip is available in a teeny tiny form factor.
[05:11:27] <cehteh> haha nice
[05:11:46] <bojangles> should i be asking here for help with two's complement?
[05:12:15] <twnqx> you can always ask
[05:12:23] <twnqx> maybe you'll even get an answer
[05:12:29] <cehteh> i'd like to play with Kinetis KL02 .. 2x2mm 32 bit arm :D
[05:13:03] <cehteh> http://www.wired.com/2013/02/freescales-tiny-arm-chip/
[05:13:19] <bojangles> im trying to understand how to represent -7 in an 8-bit value using two's complement
[05:14:02] <bojangles> so i know that 7 -> 00000111, so i inverse it 11111000 and add 1 -> 11111001
[05:14:20] <bojangles> oh my it's right
[05:14:29] <cehteh> so whats the question?
[05:14:41] <bojangles> i dont even know anymore
[05:14:56] <bojangles> wow this is embarrassing
[05:16:29] <bojangles> okay maybe i'll start with the example i'm trying to solve
[05:16:41] <bojangles> -0101 - 0010
[05:16:54] <bojangles> which is -5 - 2, so i rewrite it as -5+-2
[05:17:44] <bojangles> -5 = 1011, -2 = 1110
[05:19:24] <bojangles> adding them together gives me 11001
[05:19:59] <bojangles> however i should have 1001 for -7
[05:21:05] <bojangles> http://puu.sh/lhuWE/af3dd58e48.png here is the question
[05:22:48] <bojangles> ahhhh i get it
[05:22:59] <twnqx> :)
[05:23:44] <twnqx> your problem above stems from varying length (number of bits)
[05:23:49] <twnqx> and overflow
[05:35:17] <bojangles> i'm trying to encode the following instruction into AVR machine code: ldi r18, 127
[05:35:49] <bojangles> http://puu.sh/lhvxQ/d0c03fc031.png using the instruction manual
[05:36:09] <bojangles> i'm little bit confused with the 16-bit Opcode
[05:36:28] <bojangles> its 1110 KKKK dddd KKKK
[05:36:48] <bojangles> its the first KKKK the first 4 bits of the 8 bit representation of 127?
[05:37:28] <bojangles> or is it the whole 8 bits?
[05:37:48] <cehteh> 4 bit nibbles
[05:38:10] <cehteh> but i dont know about byte order, have fun to figure out
[05:38:29] <bojangles> how does one then represent 18 in only 4 bits?
[05:39:03] <cehteh> 16≤d≤31
[05:39:39] <cehteh> what do you try to do anyway?
[05:39:52] <cehteh> build your own assembler?
[05:40:05] <bojangles> no answer past exams questions :(
[05:48:18] <tkoskine> I think you could load immediate only to a selected set of registers (r17..r3x or something like that), so you need only 4 bits.
[05:49:10] <tkoskine> ...or r16..31 as cehteh said.
[05:52:19] <bojangles> yea but what i dont understand is
[05:52:31] <bojangles> the 16-bit opcode for ldi is 1110 KKKK dddd KKKK
[05:52:40] <bojangles> 127 = 011111111
[05:53:07] <bojangles> so i'll split that into 4 bit nibbles, so now the 16-bit opcode is 1110 0111 dddd 1111
[05:53:37] <bojangles> how do i represent r18 aka rd as the 4 bit part for dddd
[05:54:39] <tkoskine> The datasheet does not say, but I would guess "(my_reg >> 4) & 0xF".
[05:54:55] <tkoskine> Play around with avr-as and see how it does the job.
[05:55:04] <tkoskine> or avra if that is easier.
[05:59:48] <bojangles> how would you load -200 into a two byte number?
[06:01:15] <bojangles> low(-200) high(-200) ?
[06:01:29] <bojangles> or do i need to do something with two's complement
[06:02:39] <Fleck> twobytevar = -200 ;D ?
[06:05:05] <tkoskine> bojangles: Good question :). If you can, get yourself "Some Assembly Required" book, http://www.amazon.com/Some-Assembly-Required-Programming-Microcontroller/dp/1439820643
[06:05:24] <tkoskine> The book should have a section for integer calculations (on avr), if I remember correctly.
[06:07:58] <bojangles> okay thanks tkoskine
[06:08:59] <bojangles> ldi temp, (0b10 << ISC00) | (0 << ISC10) |(0b11 << ISC20) the next line is then: sts EICRA temp i'm confused with the | oring logic behind it
[06:11:03] <bojangles> 0b10<<ISC00 == 00000010 0<<ISC10 == 00000000 0b11<ISC20 == 00110000 does that then mean the value of temp is 00110010 ?
[06:11:18] <bojangles> or am i approaching this incorrectly
[06:13:55] <Thrashbarg> that's correct. It's done that way for clarity
[06:15:22] <bojangles> okay, thank you
[08:36:36] <day> do the 16bit counter have the feature to reset itself after a compare match and enter a compare match interrupt? I can of course set the counter to zero in the interrupt, but if it is used as a clock then resetting it to zero is likely wrong due to the interrupt jump, the reseting itself needing time. Which adds up.
[08:42:21] <cehteh> yes .. read the about the pwm generation modes on the datasheet
[08:43:52] <day> ty
[08:44:17] <cehteh> you can count in any direction, even alternating up/down and roll over at TOP which might be defined in any such register
[08:45:05] <day> i wasnt sure if i can use the 'pwm' features without using it as a pwm.
[08:51:56] <SM0TVI> Wasn't the 16-bit one the one with event capture?
[09:34:36] <dzervas> hello
[09:34:41] <dzervas> wow avr channel! :D
[09:34:50] <dzervas> is this alive?
[09:37:11] <Casper> the 167 other persons beside you say: no, move along, nothing to see here! :D j/k
[09:37:15] <Casper> just can be slow
[09:41:13] <Strangework> Stay here a day! It lights up for periods :)
[09:48:00] <Casper> from bright people? or just a random sun ray? :D
[09:57:18] <day> Casper: its the official arduino support channel. bring all your friends!
[09:57:25] * day runs
[09:59:03] <Strangework> It might be a sunny day here :) Though for this channel, you'll have to see for yourself
[10:15:16] * Casper stretches leg somewhere on day's path
[11:09:08] <Jartza> evening
[13:09:23] <MokoLokoToko> question, where can I find the source code for crtsXXXX files?
[13:20:01] <day> im still battling my atmega328p ADC 1.1 Bandgap reference voltage problem. the ADC says 1023 even though the pin is close to GND http://dpaste.com/2E8DFAY
[13:20:12] <day> am i missing something essential?
[13:20:43] <day> i measured the Vref pin which indeed says 1.08. So the reference should be ok. I also added a cap to the pin
[13:24:19] <MokoLokoToko> schematic?
[13:25:03] <day> its on a breadboard atm
[13:26:31] <day> what i can tell you though is that with: ADMUX |= (1<<REFS0); instead of ADMUX |= (1 REFS0) | (1 REFS1); it works. (which is AVCC with external cap at AREF pin)
[13:48:10] <cehteh> day: these things aside, you want to do some oversampling, what impedance has your input?
[13:49:18] <cehteh> and at what prescaler do you run the adc
[13:51:11] <cehteh> uhm .. and doing serial from the adc interrupt sounds ugly
[13:59:12] <cehteh> day: you also should do on thing only .. start a conversion by trigger or by ADCSRA |= (1<<ADSC);
[14:01:07] <cehteh> leave it free running and oversample to a global var might also be feasible
[14:03:39] <day> cehteh: what do you mean with one thing only? I think i only use the single conversion trigger?
[14:04:46] <cehteh> ADCSRB |= (1<<ADTS1) | (1<<ADTS0); triggers on compare match
[14:05:06] <cehteh> you dont need to do anyting in the compare match interrupt
[14:05:19] <cehteh> (resetting the timer there is also fishy)
[14:05:54] <cehteh> maybe increment your timer_counter, but nothing else
[14:06:19] <cehteh> if you want to restart the timer at compare match then configure it that way
[14:22:15] <day> cehteh: urg. thanks. i reworked the whole thing. too much try and error :x
[14:23:28] <cehteh> did you check that the adc runs at a acceptable frequency? perhaps configuring the adc prescaler
[14:24:10] <cehteh> esp when your input has a high impedance you want the frequencies on the lower end
[14:38:52] <MokoLokoToko> Does anyone know where I can find the avr gcc source code for the libraries ?
[14:40:49] <cehteh> https://savannah.nongnu.org/projects/avr-libc/
[14:44:37] <day> cehteh: yeah i lowered it to the slowest frequency it looks so nice now :3. I thought the frequency wouldnt matter if i use single conversion. but apparently it does :?. I guess it still affects the sampling window
[14:54:03] <day> cehteh: the reason the 1.1Ref didnt work was likely the frequency. O.O
[15:06:05] <day> the difference is totally insane http://i.imgur.com/AR5ng8w.png
[15:50:51] <MokoLokoToko> what does rjump . do ???
[15:51:35] <MokoLokoToko> is it rjump 0 equivalent?
[15:56:15] <Jartza> you mean rjmp?
[15:56:31] <Jartza> rjmp 0 jumps into the address 0, beginning of flash
[15:57:29] <Jartza> "rjmp ." just executes next opcode
[15:58:19] <Jartza> . basically means the next opcode following the current
[15:58:36] <Jartza> "rjmp .-2" runs forever then, it just jumps into itself again
[16:03:35] <MokoLokoToko> ty
[16:08:44] <Jartza> -2 because each opcode is 2 bytes
[16:08:56] <Jartza> and word aligned
[16:49:29] <MokoLokoToko> Hmm, I downloaded avr libc and it doesnt seem like crts is part of it
[16:49:33] <MokoLokoToko> I guess its in avr-gcc itself
[16:49:41] <MokoLokoToko> so where can I get *that* source code
[17:40:52] <Lambda_Aurigae> MokoLokoToko, from the gcc source code most likely.
[17:41:00] <Lambda_Aurigae> avr-gcc is an extension and fully integrated into gcc.
[17:41:25] <MokoLokoToko> Ahh, that explains why I couldnt find it.
[17:41:27] <MokoLokoToko> Thanks!
[17:41:51] <Lambda_Aurigae> welcome.
[17:44:18] <MokoLokoToko> Hmm. Still cant find the source code for the startup/initialization code
[17:44:50] <Lambda_Aurigae> it's in there somewhere.
[17:45:14] <Lambda_Aurigae> I would suspect it's in avr-libc actually.
[17:45:54] <Lambda_Aurigae> yeah...it's in avr-libc.
[17:46:26] <Lambda_Aurigae> runtime startup code is in the crt1 subdirectory
[17:46:33] <Lambda_Aurigae> http://download.savannah.gnu.org/releases/avr-libc/
[17:47:30] <MokoLokoToko> Oh. Hmm.
[17:47:43] <Lambda_Aurigae> it's assembly, not C
[17:47:45] <MokoLokoToko> I guess those compile to crtsXXXX files then
[17:47:50] <Lambda_Aurigae> they are .S files.
[17:47:53] <MokoLokoToko> yeah I realize
[17:47:54] <Lambda_Aurigae> gcrt1.S
[17:50:47] <Getty> damn i am going slightly mad
[17:51:05] <Getty> some minutes ago i was sure everything was broken now i added debugging test again and its all looking perfectly
[17:51:18] <Getty> hhhuuuiiii!
[17:52:29] <MokoLokoToko> noise?
[17:53:07] <Getty> too bizzare effects, more mathematical, i feel like there is still something in the software, i am abstracting that out now to make it deeper testable
[17:55:56] <Getty> i am going mad, really now its all again correct, butbefore he showed "we are at value MAX" "the system will go up with the value in XX minutes"
[17:56:00] <Getty> which makes no sense
[17:56:03] <Getty> and now... its all fine again....
[17:56:07] * Getty gets headache
[18:06:56] <Lambda_Aurigae> sounds like a hardware issue.
[18:07:08] <Lambda_Aurigae> noisy power, cheap solderless breadboards, etc.
[18:08:49] <Jartza> damn I still think this board is pretty
[18:08:52] <Jartza> https://drive.google.com/file/d/0B2dTzW9TMeBxZjFpZTlKNUVGUmc/view?usp=sharing
[18:08:56] <Jartza> https://drive.google.com/file/d/0B2dTzW9TMeBxb3l2NUNhTWFZSkU/view?usp=sharing
[18:09:00] <Getty> lambda: nope
[18:09:21] <Getty> lambda: all good production all fine, and i am unsure how noise could produce those effects, but i am not that experienced overall, so it might be
[18:09:32] <Getty> open case and all that can of course introduce a lot of shit
[18:09:36] <Getty> but that was never the case
[18:09:45] <Getty> its totally fine right now when i watch it
[18:09:46] <Getty> i reprogrm again
[18:13:05] <Jartza> Lambda_Aurigae: talking about vga and using resources of chip :D
[18:13:14] <Jartza> I still have eeprom fully free
[18:13:19] <Lambda_Aurigae> hehe.
[18:13:31] <Jartza> and I was thinking... how about adding command to "make a hard copy of screen"
[18:13:44] <Jartza> which would copy whatever you have on screen to eeprom
[18:13:47] <Lambda_Aurigae> preloaded screens.
[18:13:50] <Jartza> and another command to restore data
[18:14:00] <Jartza> well.. you can fit one screen to eeprom
[18:14:08] <Jartza> another option would be to use program flash
[18:14:13] <Lambda_Aurigae> ok...startup screen or something.
[18:14:20] <Jartza> yeah, something like that
[18:14:39] <Lambda_Aurigae> preloadable startup screen.
[18:14:46] <Jartza> yeah
[18:14:49] <Jartza> that could be in eeprom
[18:14:50] <Jartza> true
[18:15:00] <Lambda_Aurigae> with ability to load it on the fly too maybe?
[18:15:50] <Lambda_Aurigae> hence your save/restore commands.
[18:17:38] <Jartza> yea
[18:17:39] <Jartza> maybe
[18:17:47] <Jartza> or maybe I concentrate on the blog post? :D
[18:17:49] <Jartza> and enhance later
[18:18:12] <Lambda_Aurigae> yes.
[18:18:29] <Lambda_Aurigae> you can put a list of things you want to do in that blog.
[18:18:39] <Lambda_Aurigae> as a way to get people to come back and look again.
[18:20:05] <Jartza> true
[18:20:43] <Lambda_Aurigae> I started a new programming project last night.
[18:20:51] <Lambda_Aurigae> gonna make a kerbal space program like thingie..
[18:20:56] <Lambda_Aurigae> only open source.
[18:21:00] <Lambda_Aurigae> and free
[18:21:08] <EvanR> running on avr?
[18:21:25] <Lambda_Aurigae> might be a bit slow.
[18:21:28] <Getty> could it be that the PROGMEM was fucked up?
[18:21:31] <Lambda_Aurigae> writing it in java.
[18:21:46] <Getty> that would actually explain the failure in that way, if the flash would be fine but the PROGMEM in it would be wrong
[18:21:57] <Getty> but that all makes no sense cause the programmer checks that on writing, right?
[18:22:08] <Lambda_Aurigae> not sure what you mean exactly.
[18:22:35] <Getty> well the math in my code needs PROGMEM variables, you know pgm_*
[18:22:54] <Getty> if this would be broken, then it could be that the right flash content still goes crazy nuts
[18:22:55] <Lambda_Aurigae> ok.
[18:23:14] <Lambda_Aurigae> maybe.
[18:23:29] <Getty> i am not sure how PROGMEM is special related to the programmer
[18:23:36] <Lambda_Aurigae> it's not.
[18:23:43] <Getty> isnt it just part of the flash?
[18:24:00] <Jartza> yes
[18:24:01] <Getty> so does it get checked with the write/read check of the programmer?
[18:24:01] <Lambda_Aurigae> PROGMEM is just a define
[18:24:09] <Getty> yeah ok thought so
[18:24:16] <Lambda_Aurigae> it's an attribute to use in order to declare an object being located in flash rom.
[18:24:16] <Getty> i just try to find reasonings
[18:24:21] <Lambda_Aurigae> the programmer never sees it.
[18:24:32] <Lambda_Aurigae> the programmer just takes the raw data in the .hex file and writes it.
[18:24:51] <Lambda_Aurigae> PROGMEM is in the code and gets compiled down...it never shows to the programmer.
[18:25:12] <Getty> then i have no idea wht happened......
[18:25:17] <Lambda_Aurigae> http://www.nongnu.org/avr-libc/user-manual/group__avr__pgmspace.html#ga75acaba9e781937468d0911423bc0c35
[18:25:27] <Getty> it makes no sense why this shit was doing what i have seen
[18:25:34] <Getty> or is it some LSD flashback from the youth
[18:25:35] <Getty> i dont know!
[18:25:38] <Jartza> Getty: you sure you use those PROGMEM variables correctly?
[18:25:51] <Getty> yeah its all cool
[18:25:59] <Getty> i mean the software just had little bugs and i fixed those
[18:26:04] <Getty> and then i wanted to make a "final test"
[18:26:19] <Getty> and literally everything was totally badshit, but still "inside the software", so the software acted normal but calculated total bullshit
[18:26:25] <Jartza> using the pgm_read_xxxxxx functions?
[18:26:32] <Getty> well they are part of the math at one point
[18:26:48] <Getty> was just a blind guess as an option what could be a failure reason
[18:27:12] <Jartza> would help to see some code of course
[18:28:38] <Getty> its not public, tho i can give it you, but it will really not help you, its pretty normal, and as said: this works
[18:28:41] <Getty> i mean it works RIGHT NOW totally fine
[18:28:43] <Getty> i cant find a mistake
[18:28:49] <Getty> but i saw it
[18:28:50] <Getty> i SAW IT
[18:29:06] <Getty> before that he actually also did a little crazy shit that was awkward
[18:29:19] <Getty> my defualt program has 4 points and he just added 3 ?!?!?! as if one eeprom write failed
[18:29:23] <Getty> and i reprogrammed and again
[18:29:29] <Getty> then i rearranged a bit and it worked
[18:29:39] <Getty> like i didnt changed anything i just rearranged
[18:29:46] <Getty> and after i fixed that, this math crazyness was happening
[18:29:51] <Getty> then i added debugging, and debugging showed all fine
[18:29:55] <Getty> then i removed debugging and IT IS all fine
[18:30:01] <Lambda_Aurigae> eeprom writes are very timing dependent...too fast and you screw things up.
[18:30:02] <Getty> and now i dont know who to trust
[18:30:14] <Lambda_Aurigae> so rearranging could introduce delays that would help.
[18:30:39] <Getty> yeah that was my thought, like the eeprom writes before were so rapid that this one "dropped out"
[18:30:47] <Lambda_Aurigae> possible.
[18:30:59] <Getty> but the math i saw coming from the device was so badshit crazy
[18:31:11] <Getty> like on a fade from 0% to 100% he STARTED with 100%
[18:31:16] <Getty> can you imagine my face?
[18:31:23] <Getty> when your software just... decided.... to act other around?!?!?!
[18:31:31] <Lambda_Aurigae> happens all the time.
[18:31:44] <Lambda_Aurigae> specially when dealing with real world input.
[18:31:51] <Lambda_Aurigae> like analog inputs and such.
[18:33:05] <Getty> yeah thats why..... i am so confused, it isnt like that
[18:33:08] <Getty> we have just the clock
[18:33:14] <Getty> and setting a pwm value
[18:33:18] <Getty> thats not really much "I/O"
[18:33:29] <Getty> or 4 pwm values
[18:33:48] <Getty> if you gimme your github then i can add you to the repo, you might have hints about where i might need to be more careful
[18:34:05] <Lambda_Aurigae> I don't have a github.
[18:34:12] <Getty> ah... those electronicans ;)
[18:34:25] <Lambda_Aurigae> and I'm in spindown mode.
[18:34:39] <Getty> no problem ;)
[18:34:42] <Lambda_Aurigae> spent the day burning out my brain.
[18:35:04] <Lambda_Aurigae> making software solutions for copy/scan/print systems do things they aren't supposed to do.
[18:35:21] <Jartza> do they draw vga signal? :D
[18:35:33] <Lambda_Aurigae> no.
[18:35:47] <Lambda_Aurigae> they take scans in, process them, send them on, and sometimes print them out.
[18:35:54] <Lambda_Aurigae> or extract data from them.
[18:36:02] <Lambda_Aurigae> or modify them
[18:36:04] <Lambda_Aurigae> or whatever.
[18:36:54] <Lambda_Aurigae> major part of my job is to take various systems and put them together and make them all play nice.
[18:37:21] <Lambda_Aurigae> sales tells the customer it can do what they want then they tell me to make it do what the customer wants, whether it was designed to do it or not.
[18:37:46] <Getty> reminds me now of my dad who converted a pizza oven into a reflow oven
[18:38:02] <Lambda_Aurigae> done that with a toaster oven.
[18:38:02] <Getty> ........ and then actually warms up his bread with it instead of making electronics ;)
[18:38:18] <Lambda_Aurigae> even built a temperature controller for ramp up/ramp down/cool down control.
[18:38:20] <Getty> does yours have a touchscreen? ;-)
[18:38:25] <Lambda_Aurigae> my what?
[18:38:31] <Lambda_Aurigae> oh..toaster oven?
[18:38:32] <Lambda_Aurigae> no.
[18:38:40] <Lambda_Aurigae> just some buttons and a 16x2 lcd
[18:38:44] <Getty> http://imgur.com/a/ZuOu5
[18:39:17] <Lambda_Aurigae> excessive bloat in my opinion.
[18:39:41] <Getty> true, but he had the display laying around (he makes a lot of devices so has a lot of experiemental garbage)
[18:40:22] <Getty> but its always a good laugh for me, seeing him making bread warm in this thing
[18:40:38] <Lambda_Aurigae> works for me.
[18:40:58] <Lambda_Aurigae> I've turned an old copier fuser into a toaster before.
[18:42:58] <Lambda_Aurigae> and have used a t-shirt press to do toner transfer to copper clad pcb and to make grilled cheese.
[18:43:15] <Lambda_Aurigae> on the same day.
[18:45:29] <Getty> hehe
[18:45:35] <Getty> my father would probably like you ;)
[18:45:47] <Lambda_Aurigae> I doubt it...I'm a bastard.
[18:45:57] <Getty> arent all electronicans that?
[18:46:22] <Getty> if you are able to connect wires to bring on real world products, in most people the godmode activates ;)
[18:47:21] <Lambda_Aurigae> hacked an avr, maxim rtc chip, and a garage door opener into a system to open and close the door on the chicken coop to save me walking out there morning and evening.
[18:49:43] <Jartza> Lambda_Aurigae: oh! something I wanna show :)
[18:49:47] <Jartza> https://github.com/Jartza/attiny85-vga/blob/master/schematics.png
[18:50:03] <Jartza> that's automatically generated from this: https://github.com/Jartza/attiny85-vga/blob/master/schematics.txt
[18:50:03] <Lambda_Aurigae> Jartza, awesome.
[18:50:10] <Jartza> :)
[18:50:32] <Lambda_Aurigae> what generates it?
[18:50:45] <Jartza> http://ditaa.sourceforge.net/
[18:50:58] <Lambda_Aurigae> sweet.
[18:51:00] <Lambda_Aurigae> awesome toy.
[18:51:13] <Jartza> it is
[18:51:18] <Jartza> I make all my diagrams with that
[18:51:32] <Jartza> I somehow find it faster to work with that than any drawing program
[18:51:42] <Lambda_Aurigae> looks fun.
[18:51:50] <Jartza> and there's a nice companion for that: http://asciiflow.com/
[18:52:09] <Lambda_Aurigae> aahh.
[18:52:16] <Jartza> somehow I want still to use command-line tools a lot
[18:52:22] <Jartza> guess I'm old-fashioned
[18:52:29] <Lambda_Aurigae> would like to have one that is local instead of web based.
[18:52:40] <Jartza> I like the idea of schematics being readable from command-line
[18:53:06] <Lambda_Aurigae> anything is readable from command line.
[18:53:20] <Lambda_Aurigae> years ago I had a program that turned jpg files into ascii art.
[18:53:31] <Lambda_Aurigae> worked best on greyscale or b&w.
[18:54:27] <Jartza> :)
[18:54:53] <Jartza> I remember there being a linux software for that kind of ascii drawing
[18:55:00] <Jartza> but can't remember what it was called
[18:55:40] <Lambda_Aurigae> modded that into a program that would turn pixels in a bmp file into single digit hex numbers...then use that to drive a 3D milling machine to do relief cuts.
[18:55:41] <Jartza> also there
[18:55:46] <Jartza> 's vim plugin :)
[18:56:38] <Lambda_Aurigae> each pixel was drilled the depths according to how dark the pixel was.
[18:59:56] <Jartza> Lambda_Aurigae: you can run asciiflow locally, but still it requires browser
[19:00:07] <Lambda_Aurigae> hmmm..will look into it.
[19:00:08] <Lambda_Aurigae> thanks.
[19:00:26] <Lambda_Aurigae> just found my old ascii video player.
[19:00:45] <Lambda_Aurigae> could play avi or mpeg files in an ascii window.
[19:00:51] <Jartza> nice
[19:01:01] <Jartza> maybe that could be modded for octapentaveega ;)
[19:01:02] <Lambda_Aurigae> wish I had made it but alas I'm not that good.
[19:01:29] <Lambda_Aurigae> it might run on a pic32.
[19:01:42] <Lambda_Aurigae> fed from an sd card.
[19:01:47] <Jartza> yea
[19:02:27] <Lambda_Aurigae> the video display was actually watchable...you could tell what was going on.
[19:03:10] <Jartza> yea, there's a similar based on aalib
[19:03:23] <Lambda_Aurigae> might be what I have.
[19:03:37] <Lambda_Aurigae> just a real old one.
[19:32:39] <Jartza> Lambda_Aurigae: I even added colors to that https://raw.githubusercontent.com/Jartza/attiny85-vga/master/schematics.png
[19:33:01] <Lambda_Aurigae> kewl.
[19:33:58] <Getty> this drives me really really mad...... i am so feared that there is still some problem case
[19:34:05] <Getty> after being burned so many times
[19:34:15] <Lambda_Aurigae> so test the living shit out of it.
[19:34:29] <Getty> thats what i do
[19:34:32] <Getty> but i cant make it brea
[19:34:33] <Getty> k
[20:20:19] <Jartza> ohh
[20:20:22] <Jartza> changed the repo name
[20:20:59] <Jartza> nice. github does automatic redirect
[20:21:07] <Jartza> https://github.com/Jartza/octapentaveega