#avr Logs

Apr 28 2018

#avr Calendar

01:19 AM nuxil: lvlinux, yea. enlightenment is cool. its been ages since i used it last time. but at the time when i tried it 10 years ++ ago it was mostly just pretty to look at.
01:23 AM nuxil: not verry usefull
03:36 AM * nuxil sips some tea
03:37 AM nuxil: when doing coding/ software development why do we use the term "3rd part libs" for code we include written by others. why inst this referred to as 2nd party libs. you/(your code) 1st party. code you depend on 2nd party and the code 2nd party depends on as 3rd party.
03:37 AM nuxil: its not like coding is like a normal business where example me, 1st party, sell item X to (you|2nd party) made by 3rd party foobar.
03:44 AM antto: omg, nuxil, we're doing it all wrong!
03:44 AM nuxil: i know right
03:45 AM antto: nuxil where did you read "3rd party libs" exactly?
03:47 AM nuxil: what you mean? its a term i heard sinec forever. cant remember now when i 1st heard it. but its long long time ago. it was when i stadrted doing coding and need something and not wanting to reinvent the wheel. 3rd part lib is a general term used for code you include in your project..
03:48 AM antto: well, context is very important
03:48 AM antto: but it does make some sence
03:49 AM antto: if you normally write a program, you have 1) your own code, 2) code from the platform/OS/language, 3) some 3rd party framework that you could've written yourself too, but ur lazy
03:50 AM antto: you don't always need #3
03:50 AM antto: but you pretty much need the first two
03:51 AM nuxil: hmm
03:51 AM antto: "3rd party" means that the context talks about some two parties to begin with
03:51 AM antto: i'm not a lawyer tho
03:51 AM nuxil: so then in theory. your code is the 2nd part. since it depends on the os/framework you coding on.
03:51 AM nuxil: :p
03:52 AM antto: not sure if that makes sense
03:52 AM nuxil: heh
03:52 AM antto: i think it doesn't matter what the order of the two parties are
04:28 AM polprog: https://www.youtube.com/watch?v=TKYrwuxLZtY
04:28 AM polprog: this
04:29 AM polprog: <3
04:50 AM z999: Tom_L you around?
04:51 AM z999: can anyone help me find Liquidcrystal.h files for arduino in C? i found a c++ one but my code is in c. :/
04:54 AM antto: eh, isn't arduino C++
04:54 AM z999: no
04:54 AM z999: it can be in C too
04:54 AM antto: are you sure?
04:54 AM z999: i can do it in C
04:54 AM z999: i am doing my code in c
04:54 AM antto: how do you know ;P~
04:55 AM * z999 roll eyes
04:55 AM z999: i have this projecct due on tuesday
04:55 AM z999: and can't get it to build
04:55 AM antto: what happens if you add this declaration: class wub { char c; };
04:55 AM z999: i am super frustrated and right now i dont find your jokes funny.
04:55 AM z999: i am asking everyone i know for help but nobody knows how to help me
04:55 AM antto: it wasn't a joke, but okay
04:56 AM antto: relax, and follow the errors one by one
04:57 AM z999: if i give you the project can you trouble shoot it for me?
04:57 AM z999: i just want it to build right now
04:57 AM antto: no, i don't understand arduino nor want to
04:57 AM z999: i spend hours working on this and i feel i am not advancing
04:57 AM z999: ok.
04:58 AM antto: iirc there is an #arduino channel
04:59 AM z999: yeah i am there begging for help
04:59 AM antto: :/
05:00 AM z999: thanks anyways
05:00 AM z999: sorry if i came off the wrong way
05:00 AM z999: i am just upset
05:00 AM antto: nah, don't worry
05:01 AM antto: stick around, someone here might wake up (but it's saturday too, so.. who knows)
05:02 AM antto: in the mean time, try to follow the errors one by one, and/or try to build a different project
05:03 AM antto: if you're using a compiler/IDE/platform which is new to you, and "something" doesn't quite work, it can be a good idea to try and get another chunk of code/project for the same platform to build, just to see if that works
05:03 AM antto: then you can figure out if your compiler/IDE is at least working
05:04 AM antto: and you could start comparing the build commands between the working project and yours
05:11 AM nuxil: z999, look in C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino and C:\Program Files (x86)\Arduino\libraries\LiquidCrystal\src
05:12 AM antto: ugh, whitespaces in path, such gud idea
05:26 AM z999: ok fixed a lot of it
05:27 AM z999: i have two errors now
05:27 AM z999: https://imgur.com/a/ADRodpO
05:27 AM z999: do you know how can i fix it?
05:37 AM z999: can anyone get the usbdrv flder for me?
05:37 AM z999: or tell me how can i dl all these files in zip or something?
05:37 AM z999: https://github.com/arduino/ArduinoISP
05:50 AM z999: nevermind i got it
05:50 AM z999: now it is asking for SCI.h
05:50 AM z999: and it can not find it
05:50 AM z999: neverending saga
05:50 AM z999: all i want was this code to work and it pulls all these .h files
05:55 AM nuxil: well. i have no idea what you need to do. but you are want arduino stuff in studio,
05:55 AM z999: ii am trying to do this project.
05:55 AM nuxil: so you need to go into each .h file and see what else they require. then go search for it on the arduino install.
05:56 AM z999: where can i find SCI.h
05:56 AM z999: can you help me find that file?
05:57 AM nuxil: https://github.com/marcmerlin/NewLiquidCrystal
05:57 AM nuxil: sorry wrong link
06:00 AM nuxil: i know i seen this file
06:00 AM nuxil: hold on
06:02 AM z999: http://docdro.id/MlJyVd6
06:02 AM z999: this is what i am trying to do
06:03 AM z999: i have the hardware ready. just need the code to build then test it on hardware
06:08 AM nuxil: i cant find out where i seen that file before.
06:09 AM nuxil: why do you need SCI.h ?
06:10 AM nuxil: #include "LiquidCrystal.h" should be enuf for you to get the display working.
06:15 AM nuxil: z999, i dont use studio. so dont know it. but it its not avr-gcc your just asking for problems. example. liquidcrystal requires Print.h., Print.h requires <inttypes> . and so on.
06:15 AM nuxil: the rabbit hole can get deep
06:15 AM nuxil: just use arduino ide :p
06:42 AM z999: nuxil you mean arduino software?
06:42 AM z999: i dont have the code for it
06:42 AM z999: i am not sure if the code that they have will work
06:43 AM z999: oh what a mess!!!!!!!
06:46 AM nuxil: https://www.youtube.com/watch?v=7WnOe00dVu0
06:48 AM nuxil: and import a example sketch form liquidscrystal
08:43 AM MrFahrenheit: nuxil, got a notice from customs today asking me to provide proof of purchase and value
08:46 AM nuxil: MrFahrenheit, gosh.
08:46 AM nuxil: why would they do that?
08:47 AM nuxil: oh. they wanna tax you :p
08:47 AM MrFahrenheit: yes
08:48 AM MrFahrenheit: well, I guess I could have maybe lied, but they're not that dumb
08:49 AM MrFahrenheit: reddit is broken
08:49 AM MrFahrenheit: an /r/videos post with 20 points is #2 on my front page
08:50 AM nuxil: hu?
08:51 AM MrFahrenheit: https://i.imgur.com/iih8Yaw.png
08:53 AM nuxil: welcome to the internet fam?
08:54 AM MrFahrenheit: it's a link with a guy in a chocolate kiddie pool with a chocolate fountain on his head peeing chocolate into another guy's mouth
08:54 AM nuxil: people got issues
08:54 AM MrFahrenheit: https://youtu.be/h39fZdU7174?t=3m20s
09:00 AM Emil: _nice_
11:22 AM _ami_: Hello
11:35 AM day__ is now known as day
12:28 PM z999: nuxil?
12:28 PM z999: nuxil: the same code i have i can use in arduino ide?
12:34 PM z999: nuxil: the code i have does not work in sketch
12:37 PM z999: it doesnt recognize liquidcrystal.h
12:41 PM nuxil: z999, my point was. take a look at one of the examples in C:\Program Files (x86)\Arduino\libraries\LiquidCrystal\examples. "hello world forexample" and import it into studio as shown in the video. it should give you what its required i think.
12:44 PM nuxil: i dont use studio nor arduino ide, so im not much of help.
12:44 PM z999: Tom_L is away
12:44 PM z999: ok
12:46 PM nuxil: just blame emil for your issues. and seduce polprog with some old vintage harware and im sure he will try his best to help :p
12:47 PM z999: no.
12:47 PM z999: have i ever blamed emil?
12:47 PM nuxil: no, thats what we do around here .p
12:48 PM nuxil: *just kidding ofcource
12:48 PM Emil: :D
12:48 PM Emil: z999: :3
12:48 PM Emil: z999: you are the best
12:51 PM z999: hi emil. i hate to hurt other people's feelings unless they hurt mine
12:51 PM z999: :)
12:51 PM Tom_L: i don't mind it at all
12:51 PM nuxil: lol
12:51 PM z999: Tom_L!!!!!!
12:51 PM z999: can you save me from further frustration
12:51 PM Tom_L: don't ask. i don't do ardweenie
12:52 PM Tom_L: it's a matter of principle
12:52 PM z999: oh well
12:54 PM nuxil: z999, did you try and do as i suggested and see if you can get a simple arduino "hello world" example sketch imported as shown in video up and running +?
12:54 PM nuxil: aya
12:54 PM nuxil: anywho time for some food.
01:00 PM Tom_L: did she ever get the lcd working?
01:06 PM polprog: lol nuxil
01:07 PM Emil: gah he left before I could have answered
01:07 PM Emil: z999: always caring for what people feel is unnecessary
01:08 PM Emil: still wanted to say that :D
01:09 PM Tom_L: z999 is a girl btw
01:14 PM Emil: Tom_L: I don't care if he's a This is a good article. Follow the link for more information.
01:14 PM Emil: Lockheed Martin F-22 Raptor
01:15 PM Emil: fuck
01:15 PM Emil: ruined
01:15 PM Emil: I don't care if he's a Lockheed Martin F-22 Raptor.
01:16 PM Emil: but cool that she's interested in AVRs
01:53 PM polprog: z999 is a girl?
01:53 PM polprog: huh
01:53 PM polprog: im in the process of reading whats on a pile of ide drives and transferring it to normal storage
01:54 PM polprog: more normal*
01:54 PM polprog: got a caddy for ide drives
01:54 PM polprog: it had a keyhole for which i didnt have a key
01:54 PM polprog: so i cut the wires and twisted them together
01:54 PM polprog: and it started
01:54 PM polprog: like a fraking car :D
01:54 PM polprog: freaking*
02:00 PM Emil: :D
02:00 PM Emil: SUPER HACKING HACKER
02:00 PM Emil: this is what the "news"papers believe
02:01 PM polprog: Hackerman
02:01 PM polprog: ill make a blog post about that caddy. its funny
02:28 PM polprog: now im hacking together an ide to usb adapter board to the caddy
02:28 PM polprog: or rather the bay
02:45 PM rue_: did they make isa usb cards?
02:46 PM rue_: do they use a narrow enough port range to run off an pata cable?
02:46 PM rue_: this could be cool...
02:48 PM rue_: http://www.arstech.com/ccp51/media/images/site/connecting_usbisa-ra.jpg
02:48 PM rue_: wait... wtf?
02:50 PM rue_: why do I feel that there is a usb controller that has a parallel interface tho
03:09 PM rue_: is pcmcia isa or pci?
03:14 PM nuxil: pcmcia is pcmcia. its based on isa iirc,
03:17 PM nuxil: You do need some glue logic to inferface the two as the are no 100% compatible
03:18 PM polprog: while true; do beep -f $(($RANDOM%1000)) -l $(($RANDOM%10*10)); sleep 0.1; done
03:18 PM polprog: rue_: i found a usb-ide interface but its broken, acts funky
03:30 PM day__ is now known as day
03:31 PM antto: polprog u know what to do then
03:32 PM polprog: maybe its because im not using the onboard power connector but feeding it from the PSU direcctly
03:32 PM polprog: maybe if i added some dummy load on the power, it would detect it and start working
03:33 PM polprog: but given that i dont detect it in lsusb at all, its borked
04:01 PM day__ is now known as day
04:47 PM rue_: nononono
04:48 PM rue_: I'm talking about a usb master port that is operated thru a pata interface
04:48 PM rue_: so, I have an idea for a big robot arm
04:48 PM rue_: the only part I cant work out in my head in bed is what motors to use
04:49 PM rue_: electric weed eaters should be pretty common at this time of yeat
04:49 PM rue_: year
04:59 PM day__ is now known as day
05:05 PM polprog: ah
05:17 PM polprog: this client has severe problems with day changes
05:17 PM polprog: im seeing messages i typed a week ago just a bit up
05:17 PM polprog: :/
06:18 PM * polprog whishtles Tetris theme
06:20 PM polprog: nighters
09:09 PM rue_: no, we just havn't been saying much
11:30 PM nuxil: http://ww1.microchip.com/downloads/en/DeviceDoc/30010135D.pdf nice quick refrence guide to get a overview of chips.
11:37 PM day__ is now known as day
11:41 PM nuxil: not everything on that list is correct tho.
11:43 PM nuxil: example. atiny13 does not have a 8 bit timer/counter listed
11:50 PM day__ is now known as day