#avr | Logs for 2012-04-21

Back
[10:16:43] <theBear> yeah <grin> like i been noticing recently working on zero budget... if you followed and learnt all the rules for enough years, yer allowed to get away with a few 'ugly hack's in yer old age :)
[10:17:02] <WormFood> why do you have to use the dns name that is blocked in China.
[10:17:03] <Tom_L> i needed it one time
[10:17:04] <WormFood> ?
[10:17:20] <Tom_L> what one would you prefer?
[10:17:27] <WormFood> how about I give you a cool dns name, that isn't blocked in China....maybe tom-itx.jesusfuckinchrist.com/
[10:17:35] <WormFood> I can make that happen...I own that domain name ;)
[10:17:43] <Tom_L> heh that's kinda like theBear's old one
[10:17:49] <theBear> i could link you whateveryoufrickinwant.(fucking.)rememberit.com.au if you know how to make apache rediret <grin>
[10:17:52] <theBear> i own it now :)
[10:17:59] <Tom_L> theBear what was that old one you had
[10:18:23] <Tom_L> now why isn't the backup coming online
[10:18:26] <WormFood> I'd be more than happy to make you a dns entry in my servers for your web site....I'd be happy to give you a list of domain names I control/own if you're interested.
[10:18:42] <Tom_L> i've had offers
[10:18:46] <WormFood> if I remember correctly, your IP is static, right?
[10:19:02] <theBear> i just had the *fucking. subdomain before, similar deal to how you get yours free, but now i own the whole thing, got a dns and backup on opposite sides of the country, one day i'll get my mail working again so i don't have to trawl thru undeliverables in a server on the other side of the country every time i need to retrieve an old/silly password :)
[10:19:04] <Tom_L> no but dyndns takes care of the dynamic
[10:19:13] <WormFood> I'd be more than happy to give you a real web site
[10:19:20] <WormFood> give you web dav access
[10:19:28] <theBear> my ip is static, not sure how/why, but this isp makes all adsl2+ connections static afaik
[10:19:29] <WormFood> it isn't high bandwidth
[10:19:49] <Tom_L> alot of my pics are too big
[10:19:53] <Tom_L> (so i hear)
[10:19:56] <WormFood> I'm just tired of constantly having to use my proxy/vpn for your site
[10:19:57] <WormFood> how big?
[10:19:58] <theBear> toms site has always worked when we need to look at it, and i dunno about tom, but i find having a webserver on the lan makes a LOT of stuff easier
[10:20:04] <Tom_L> i dunno
[10:20:14] <theBear> you should be talking to the chinese gov/google, not tom, about this problem <grin>
[10:20:15] <Tom_L> i'm not gonna go back thru them all and shrink em
[10:20:16] <WormFood> you can keep it under a few gig, right?
[10:20:31] <WormFood> I'm not gonna impose a hard limit
[10:20:36] <theBear> maybe i should run a public proxy JUST for toms site, would that suffice ? <grin>
[10:20:39] <Tom_L> it fits on a thumbdrive :)
[10:20:50] <theBear> these days they make thumbdrives bigger than my entire head
[10:20:54] <Tom_L> heh
[10:20:55] <theBear> if ya get my turn of phrase :)
[10:21:48] <WormFood> Tom_L, you interested in my offer?
[10:22:02] <Tom_L> oh maybe
[10:22:12] <Tom_L> i'm still keepin this one
[10:22:39] <WormFood> also, another thing you can do, if you (or I) are concerned about "big pictures", is you can keep those on your local machine
[10:22:47] <WormFood> I wouldn't suggest you take your existing one offline.
[10:23:21] <Tom_L> i could put the bulk of the 'webpage' on it. there's alot of other stuff on there as well that don't have links to them per se
[10:23:39] <Tom_L> like pics i post for someone
[10:23:53] <WormFood> well, maybe make the static site more long term stable stuff, and the dynamic site more flowing and smaller dynamic stuff
[10:23:57] <Tom_L> so was that the socket
[10:23:58] <Tom_L> ?
[10:24:14] <WormFood> I haven't seen it yet. I need to make my vpn/proxy work
[10:24:27] <Tom_L> i think abcminiuser even has me set up on fourwalledcubicle.com
[10:24:28] <WormFood> it should be working, but I rebooted....maybe I forgot to set the route in my router.
[10:24:35] <JyZyXEL> well it looks like there is not example code for the interrupts, there however is some "vector" for interrupting USART TX and RX events
[10:24:41] <WormFood> I'm doing my VPN a little differently right now, than most people.
[10:24:49] <abcminiuser> GREETINGS
[10:24:52] <JyZyXEL> im not sure what this vector means
[10:28:01] <atom1> mmm the ethernet seems ok
[10:31:28] <Tom_L> oops
[10:31:38] <Tom_L> wrong ip
[10:34:28] <JyZyXEL> ha, i added my button checks inside the USART_Receives while() and now it works
[10:35:22] <JyZyXEL> i wonder why the documentation has this kind of implementation of USART when clearly it should be a job for the interrupts
[10:35:23] <Tom_L> see buttons aren't so hard
[10:35:38] <JyZyXEL> their not hard if their actually being checked by the code :D
[11:05:55] <theBear> heh yeah, you gotta push them REAL hard when they aren't coded to do anything <grin>
[11:16:20] <JyZyXEL> i was thinking maybe the char 'h' would print a little help thingy of all the possible command?
[11:17:56] <JyZyXEL> but printing strings out to USART, how hard is that?
[11:18:10] <JyZyXEL> do i gotta store the strings in eeprom?
[11:19:54] <OndraTabby> you can store them in the flash
[11:20:43] <JyZyXEL> whats the best way to implement sending strings?
[11:20:57] <Tom_itx> a fishing reel?
[11:21:03] <OndraTabby> void SendString(char *string) { while (
[11:21:25] <OndraTabby> while(!string++) UART_Send(*string); }
[11:21:43] <OndraTabby> or did I mess up the *s.... I hate pointers :P
[11:21:53] <JyZyXEL> i never understood how pointers work
[11:22:26] <OndraTabby> it is fairly easy, it is just that I am C# guy so I do not care about that.... only few small projects done in C/C++
[11:28:00] <Kevin`> JyZyXEL: if you have a reasonable amount of code space you can just use printf
[11:29:18] <JyZyXEL> does it automatically go out the USART?
[11:32:24] <WormFood> Tom_itx, a socket like that, except mine is a ZIF
[11:32:58] <OndraTabby> what, Eagle started reporting, out of nothing, DRC errors about keepouts
[11:34:16] <OndraTabby> there are not "reflow solder" resistor packages in the library, damn
[11:35:58] <abcminiuser> OndraTabby, bad kitty!
[11:35:58] <abcminiuser> That won't work
[11:35:58] <abcminiuser> It'll increment the pointer all the way until it wraps to location 0x000000 (NULL)
[11:35:58] <abcminiuser> And will skip the first character in the string
[11:36:32] <OndraTabby> eh
[11:36:51] <OndraTabby> while (!*(string))
[11:37:26] <OndraTabby> anyway
[11:37:32] <OndraTabby> you should do it proper and not my IRC syntax
[11:39:47] <JyZyXEL> so perhaps these string methods have a library where their already implemented?
[11:43:13] <specing> Hehe WormFood, what are you doing in china? :D
[11:46:37] <WormFood> specing, as many women as I can, and the easy ones twice.
[11:46:46] <JyZyXEL> there is a string.h
[11:47:31] <specing> WormFood: Do you need help?
[11:47:33] <JyZyXEL> i just have no idea how that helps me with USART
[11:47:48] <specing> JyZyXEL: /util/usart.h
[11:48:31] <JyZyXEL> doesn't exist
[11:49:03] <JyZyXEL> http://www.cl.cam.ac.uk/teaching/1011/P31/lib/html/usart_8h.html#64e012dc3e87a5ddc34bc9597add7d19
[11:49:13] <JyZyXEL> i wonder where i could find the source code though
[11:49:15] <specing> JyZyXEL: util/setbaud.h
[11:50:18] <specing> JyZyXEL: Wrtie your own, as I have
[11:50:33] <JyZyXEL> nothing good ever comes from that
[11:50:44] <JyZyXEL> there are so many wrong solutions
[11:50:57] <specing> JyZyXEL: don't be lazy, this is not #wikipedia
[11:51:58] <JyZyXEL> http://support.atmel.no/knowledgebase/avr32studiohelp/AT32UC3B_Software_Framework/DRIVERS/USART/USART_EXAMPLE/DOC/html/a00003.html#2090c77f008cbbde81b5047b91a9826d
[11:52:19] <JyZyXEL> found the correct one
[11:52:38] <Xata> Hi.
[11:54:17] <specing> JyZyXEL: you most certainly did not
[11:54:24] <specing> Xata: Hello
[11:54:34] <JyZyXEL> im not really loving how hard its to get even the most basic things done and how hard its to find correct documentation for it
[11:55:49] <JyZyXEL> well i think the while (*string != '\0') is correct
[11:55:55] <JyZyXEL> the usart_putchar looks dodgy
[11:56:01] <Tom_itx> that's why you got us
[11:56:34] <Xata> Got a trouble. I bought atmega16a, and it does not want to be programmed on home-made programmer i made muself. But it works ok with atmega32a. When i plug it in my breadboard with leds on porta - it shows some blinking on first bit (maybe hi-freq data transfer?) with unfrequent drops on forth bit. It is dead or i made something wrong?
[11:58:18] <JyZyXEL> bleh im just not gonna write any strings to my USART and be done with this
[11:58:36] <Xata> Sorry for english - my head is full of other thoughts now. Everything i wrote was about atmega16, implying that programmer works ok with my atmega32
[11:58:52] <JyZyXEL> gonna just leave them as comments in the source code :D
[12:00:45] <specing> JyZyXEL: Have you read the USART section in your chip's datasheet?
[12:01:09] <JyZyXEL> yeah it only gives the basic tools
[12:01:22] <JyZyXEL> receiving and transmitting char's
[12:01:31] <specing> So?
[12:01:33] <JyZyXEL> and thats fine
[12:01:36] <Xata> just now it SUDDENLY lighted up all of 8 leds on porta then turned them off one by one, leaving just first bit lightened. Halp? Wtf with this stuff?
[12:01:40] <specing> a string is just a sequence of chars
[12:01:41] <JyZyXEL> i wouldn't expect anything else
[12:02:17] <JyZyXEL> so it is
[12:03:01] <specing> and?
[12:03:35] <JyZyXEL> theres a million different ways to use that information for writing tools
[12:04:03] <specing> ...
[12:04:46] <JyZyXEL> there is probably one way thats good for generic use and im not feeling like re-inventing it
[12:05:36] <chupas> You think a fluke 92b scopemeter is worth $100?
[12:06:03] <JyZyXEL> boy i had like 50 AVR related tabs open on my firefox
[12:06:22] <Xata> maybe some way to make full avr reset without programmer?
[12:07:05] <Tom_itx> Xata reset button
[12:07:45] <Xata> Tom_itx: ur funny guy
[12:07:56] <specing> JyZyXEL: either that or ... take thos 15s to implement your own
[12:08:07] <specing> Xata: pull the plug
[12:08:20] <Tom_itx> Xata what did you have in mind?
[12:09:15] <Roamin> i think he means erasing the avr , without a programmer
[12:09:27] <Xata> yep
[12:09:48] <Xata> or some way to test it - is it ok or bad?
[12:09:48] <Tom_itx> lightening?
[12:10:00] <JyZyXEL> specing: maybe for someone experienced
[12:10:10] <JyZyXEL> id take hours to figure it out
[12:10:17] <Roamin> if you erase it with a programmer, and check if its blank, and it is, then its erased.. nothing more to do
[12:10:23] <specing> JyZyXEL: So did I
[12:10:26] <JyZyXEL> feel like i already wasted enough time
[12:10:29] <specing> JyZyXEL: And now Im experienced
[12:10:43] <Xata> Roamin: but programmer says it does not response
[12:10:49] <specing> JyZyXEL: Are you at uni?
[12:10:54] <JyZyXEL> yeah
[12:11:09] <Roamin> what software are you using Xata?
[12:11:26] <Xata> Roamin: uniprof + com-port programmer
[12:11:40] <Xata> it works ok with atmega32
[12:11:54] <JyZyXEL> this is some hardcore shit compared to the Java courses we have
[12:12:00] <specing> JyZyXEL: haha
[12:12:06] <specing> JyZyXEL: How old are you?
[12:12:11] <JyZyXEL> 22
[12:12:14] <specing> Im still in highschool btw ;D
[12:13:14] <specing> hehe
[12:15:38] <specing> Now go and do your homework. PROPERLY
[12:17:02] <Xata> Roamin: it is time to throw it away?
[12:17:41] <Roamin> not necessarly , but i'm not familiar with uniprof, just grabbed it and its in russian .. how do you even select what type of avr you want to program?
[12:18:07] <Xata> Roamin: it is detected automaticly, as i remember
[12:18:48] <Roamin> so maybe the atmega16a is not in the parts list?
[12:19:13] <Xata> Roamin: it is, in SIGNATURES directory
[12:21:21] <Xata> Roamin: you read about my 16's weird behavior, even it has to be blank? how does blank avr have to react on volage?
[12:23:09] <Roamin> what do you mean? if you erased the avr , and power it up, what do the outputs do? They should all be high impedance i assume?
[12:23:10] <Xata> Maybe i have to try external quartz - maybe it is not actually as blank, as guy at shop told me (and new)
[12:24:16] <Roamin> well, the very first thing is , if the programmer doesnt identify the chip properly, you cant think that it will be programmed and work properly
[12:24:57] <theBear> what avr chip is it ? i'm not very up post 90s?????? era, but as i recall, back then most if not all avrs wanted a crystal to program from 'new'
[12:25:27] <Xata> Roamin: i mean i got +5 on Vcc and gnd plugged to this avr, and it shows some strange some weird output on PORTA (i have 8 leds connected to it)
[12:25:51] <Roamin> then its not blank
[12:26:44] <Xata> Roamin: it is just not blank, or maybe this can be a deffect?
[12:26:49] <OndraSter> AVRs come from factory blank btw
[12:27:01] <OndraSter> I always dump everything that I can
[12:27:03] <Roamin> very unlikely that its a defect
[12:27:07] <OndraSter> make it AVRs, SD cards from phones I am given etc :P
[12:27:55] <Xata> Roamin: but why than it can not be read by programmer? as far as i know - 32 and 16 are fully same in pins
[12:28:19] <Xata> and 32 works
[12:28:35] <Roamin> obviously you are missing something, and when you program and read the chip, you provide 5v as well?
[12:29:07] <Roamin> i see a simple schematic of a programmer here, thats meant to use with uniprof, and that schematic doesnt show that you need 5v to power the chip while programming
[12:29:20] <Roamin> http://i.stack.imgur.com/drNfc.jpg
[12:29:52] <Xata> Roamin: ofcause. but on atmega32 i take it from usb and it is sufficient. can atmega16 just need more power?
[12:31:06] <Roamin> would be sufficient for 16a also, are there anything connected to the miso/mosi/sck lines when your chip is in programmer? that could interfere with reading/writing?
[12:31:19] <Roamin> and reset
[12:31:21] <Xata> Roamin: but you actually need it on Vcc, and gnd connected to gnd of programmer, this 100% true. For example http://easyelectronics.ru/img/AVRProgrammator/Nik%20Prog.gif
[12:34:37] <Xata> Roamin: i don't understand your message. There is 1kohm res on miso and something more complex on reset pin (it is actually always in reset state when programmed, as far as i understand what was written about this programmer - this was told as why it cannot be used in circuit)
[12:35:43] <Xata> OH, seems like i got it. No there is just programmer and atmega plugged in it, nothing else
[12:37:24] <Roamin> yes , thats what i meant, nothing in circuit is on those lines as you program, or it could interfere..
[12:37:56] <Kevin`> you can have spi devices on those pins, as long as you have a pullsomewhere resistor on the cs pin
[12:37:57] <Roamin> but really, the very first thing to do is being able to read the signature, if you can do that, then you are on the good track.
[12:40:37] <Xata> Roamin: but i can't. any other way to read it? maybe some easy-to-make usb programmer? it cost me 2$, but this is still offensive
[12:43:15] <Xata> I know that there is some lpt way, but i have no lpt connector at a time. and it costs more than a half of new atmega16.
[12:47:37] <Xata> i missed something?
[12:51:29] <OndraSter> nope
[13:05:02] <Kevin`> Xata: you can use an lpt port. personally though, just buy a $40 usb adapter that does everything, unless you are REALLY tight on cash
[13:06:13] <Steffanx> Don't let rue_* here that Kevin` :P
[13:07:48] <Xata> Kevin`: i am _really_ tight on cash. even more - i am going to ask for replacement 2$ atmega.
[13:09:30] <Xata> Guys, i have a question - programming controllers is something a guy can make money with, or this is just a hobby for most, and giving too much time to it instead of getting a work at mcdonalds is a right choise?
[13:10:28] <Tom_itx> work at mcdonalds
[13:10:41] <Tom_itx> there's a real future there
[13:10:55] <Steffanx> only in the us
[13:10:55] <specing> If you are on the level of having to work for mcdonalds, then you will never be successfull with uC's
[13:10:58] <theBear> i've made some money doing it for odd projects here and there, but never really pushed it as a business, more a bonus-service when working in various consulting and repair jobs.... one of the locals here made a bunch of rc-related bits and pieces as part of his rc online shop/business, but has recently decided that isn't the way to get rich and backed off on the project
[13:11:40] <theBear> to be good at any programming, especially micro-related (cross discipline) stuff you really gotta have a passion and spend CRAZY amounts of time 'learning' before you are worth any money
[13:13:22] <Steffanx> amen
[13:13:35] <learningc> theBear: You are everywhere!
[13:13:37] <Tom_itx> Steffanx in gran caymen a hamburger is $30 us
[13:13:47] <OndraSter> you also need some global view
[13:13:50] <OndraSter> not just uCs
[13:13:53] <OndraSter> but also FPGAs, CPLDs...
[13:13:56] <theBear> learningc, heh, i been around the block a couple times
[13:14:06] <Tom_itx> theBear just now many?
[13:14:08] <Xata> Tom_itx: Steffanx you got the point of mcdonalds joke, aren't you?
[13:14:27] <Tom_itx> it is a viable option
[13:15:02] <theBear> Tom_itx, a few :)
[13:17:08] <Steffanx> Xata, yes but i just like to point out McDonalds is really a thing for the big fat americans :P
[13:17:54] <Xata> theBear: well, actually i am in microcontrollers mostly for and because of passion. just was curious about some profit
[13:19:28] <Xata> Steffanx: well, i am not american (ukraine), but working at mcdonalds is failling your life everywhere.
[13:20:21] <theBear> Xata, for short term /small profit, thinking of a product, pref. one you are interested/passionate in, and making/selling that product, is a pretty foolproof approach... just make sure they're likely to sell, keep the parts costs low, and make sure it's a solid product...
[13:20:28] <Xata> WELL WELL WELL. strange that i actually speak somehow similar irl in my native language
[13:21:17] <theBear> heck, a simple example, probably not a real good one in a modern litigated world, make 'alarm panels' ... you know, for house/boat/warehouse, little box, bunch of inputs for pir/door/whatever sensors, couple output relays for stuff like horns and flashing lights, bing bang boom
[13:27:29] <Xata> theBear: but this stuff is really simple, i can make it even now. god bless my 64yo dad with 30 years of electrician practise. i am thinking about some low-cost led-displays for local public transport. that advertising and informational stuff, it is still rare here, and commercial bus dirvers will like it, i think.
[13:29:10] <Xata> on the orher hand - it is quite complex, has ready-to-go solutions (maybe) and needs service.
[13:30:04] <Xata> Who knows. My first mountain to conquer is synthesizer, that is already 15% ready.
[13:31:08] <learningc> how easy/hard is it to drive an tft Lcd?
[13:31:36] <OndraSter> depends on the TFT LCD :)
[13:31:50] <OndraSter> but usually you will go hsync-vsync way
[13:31:53] <OndraSter> and raw data
[13:32:44] <learningc> what typee of lcd are there?
[13:32:53] <theBear> Xata, govt contracts can go either way, sometimes they're desperate to find someone for 'odd jobs' like led-displays.... other times between the lengthy tender/selection/approval process and various rules and regulations, small guys have no chance
[13:33:00] <tavish> hi, has anyone used the avrfix library for fixed point calculations? I can't convert an _Accum to float/double using the macros that are available in the library.
[13:33:24] <theBear> if you DO do something commercial, just make sure ANYTHING you EVER sell is of a good quality/durability and without any major bugs, or you'll poison future business bigtime
[13:38:06] <Xata> theBear: maybe i will, but not in close perspective. nsees moar exp. anyway thanks for advice.
[13:38:37] <Xata> *needs
[13:40:27] <theBear> as far as 'every day' work, 'apprenticing' in micros as it were, i'm sure a handful of jobs DO exist, but outside of say, r+d dept at some company that already has an ongoing business, like maybe disco light design or heck, alarm panel manufacturers, i sure as heck can't workout where to find them, and i been scouring the country casually for 10+years now
[14:52:55] <clOI> hello. Do you have an idea, why avr-gcc doesn't optimize this?:
[14:53:03] <clOI> in r24, 0x03
[14:53:08] <clOI> ldi r24, 0xFF
[14:53:30] <Casper> because gcc do not touch assembler
[14:53:38] <clOI> 0x03 is PINB
[14:53:55] <clOI> sorry, that's output from the obj-dump
[14:54:11] <Casper> you need to check with the C code to see why it did not
[14:54:36] <clOI> is there a possible case, where this would make sense?
[14:56:19] <Casper> yes
[14:56:28] <Casper> if the code specially ask for a no-optimisation
[14:56:42] <Casper> or if it look like the user do want to "waste" time
[14:58:41] <clOI> http://pastebin.com/T1AkDXeY
[15:01:21] <clOI> this is my code. I really liked the BIT macro but noticed that writing LED(PORT) = LED2(PORT)... = LED8(PORT) = 1; would call sbi multiple times.
[15:01:59] <clOI> the BIT macro is from http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&p=530930
[15:05:32] <clOI> IMO avr-gcc has a bug. If you take the BIT macro and chain the assignments, avr-gcc should not simply use the assigned value, but query the new value from the register.
[15:07:21] <clOI> This would for instance make a difference in the following case: LED(PIN) = LED2(PIN) = 1; as writing to this port would toggle the value
[15:11:33] <clOI> Kernighan / Ritchie write that: «In C, any assignment, such as c = getchar() is an expression and has a value, which is the value of the left hand side after the assignment.»
[15:13:28] <learningc> clOI: {char a,b,c,d; a = b = c = d = 69;}
[15:23:10] <grummund> my god is this an best abuse of the pre-processor contest?
[15:23:44] <OndraTabby> I have just noticed, that the Altera USB Blaster doesn't download the code to the EPCS4 flash, but just downloads to the FPGA itself... on power cycle the original testing stuff is running :P
[15:23:57] <OndraTabby> smart!
[15:25:08] <grummund> clOI: i'm not going to attempt to decipher that macro but i suspect that the issue may be that PORT is volatile, so gcc won't cache its value across successive assignments.
[15:26:19] <clOI> grummund: gcc doesn't need the value (ever).
[15:27:12] <clOI> apparently gcc does have special code to replace in ori out with spi if it makes sense. But does not optimize PORTA |= 0xFF;
[15:27:43] <grummund> that's correct.
[15:27:49] <grummund> well maybe you are just asking too much of the optimiser
[15:27:53] <clOI> which is easy to workaround with: if (val == 0xFF) PORTA = 0xFF; else PORTA != val;
[15:27:59] <grummund> what with the bitfields as well
[15:29:27] <clOI> the bitfields are completely removed by the compiler. The code produced by the macro is optimal. AFAIKT there is no better way to do it. Even if the pins are on different ports, the output is "perfect" sbi/cbi when possible, otherwise ori and andi
[17:10:42] <Xata> which potentiometer i better use with adc on 5v?
[17:11:14] <OndraLappy> what which?
[17:11:18] <OndraLappy> as in resistance?
[17:11:24] <Xata> yes
[17:11:31] <OndraLappy> check the datasheet for minimum current
[17:11:38] <OndraLappy> you will be fine with 10k
[17:11:43] <OndraLappy> 100k as well
[17:12:17] <Xata> OndraLappy: thanks
[17:12:19] <OndraLappy> np
[17:12:36] <OndraLappy> but you should check the datasheet - it should be few uA or hundreds of nA for ADC
[17:17:55] <OndraLappy> analog input resistance: 100M
[17:17:57] <OndraLappy> says datasheet
[20:58:27] <Tom_itx> wollw, around?
[21:22:17] <wollw> Tom_itx: yeah
[21:22:28] <Tom_itx> ready to ship
[21:22:32] <wollw> great, thanks
[21:22:33] <Tom_itx> Monday
[21:22:48] <Tom_itx> maybe somebody wanted it worse than you
[21:22:56] <wollw> could be
[21:23:12] <Tom_itx> it will turn up soon as you get the next one
[21:23:42] <wollw> In that case I won't have to worry about losing one again :)
[21:23:49] <Tom_itx> heh
[21:25:08] <wollw> I think it disappeared at school.
[21:25:31] <wollw> I'd spend more time looking for it but I've been really busy these days and need to make sure I actually have one soon.
[21:39:58] <iR0b0t1> Has anyone used ks0108b-driven LCD displays?
[21:40:03] <iR0b0t1> I am having problems with mine.
[21:40:24] <iR0b0t1> As in, I am unable to address the screen properly.
[21:40:30] <karlp> return it, it must be broken.
[21:41:43] <iR0b0t1> Fuck you?
[21:46:47] <iR0b0t1> I can't seem to set the pages nor write coherently within a page, e.x. position 0 is three widths from the side of the display
[21:55:19] <iR0b0t1> ... which brings to question, how do I disable the UART?
[22:10:12] <Casper> iR0b0t1: write 0 to txen and rxen?
[22:11:10] <iR0b0t1> yea
[22:11:20] <iR0b0t1> now the display won't turn on for some reason
[22:11:21] <iR0b0t1> ._.
[22:11:31] <iR0b0t1> like "turn on" in the software sense
[22:17:27] <Casper> dumb question but... are you sure that you actually set the DDR to output when you are writting?
[22:44:53] <iR0b0t1> yaaaaaaaaaaaay it works
[22:45:01] <iR0b0t1> however I have to enable the LCD before disabling the UART
[22:48:11] <mog> inflex, ping
[22:49:05] <inflex> pong