|
Awia posted:on that note of doing c++ directly to arduino, how the gently caress do you do that? ive tried before with atmel studio but poo poo didn't work http://www.visualmicro.com/ adds all the arduino junk to atmel studio/VS for you
|
# ? Aug 9, 2015 16:39 |
|
|
# ? May 12, 2024 19:28 |
|
a couple things:
yippee cahier fucked around with this message at 18:39 on Aug 9, 2015 |
# ? Aug 9, 2015 18:35 |
|
what are we gonna call this new serial protocol we are making? also you probably need a checksum if you are dropping characters.
|
# ? Aug 9, 2015 20:50 |
|
hey i am always open to being wrong but i am pretty sure the command corruption is because of the thing i said earlier, have you tried that
|
# ? Aug 9, 2015 21:08 |
|
changing the ISR to put the command into a buffer and set a flag when complete took care of the majority of the problem and now i have a readout! also, turns out i had a timing problem with my LCD routines that was the source of needing this whole mess in the first place. Mahatma Goonsay posted:what are we gonna call this new serial protocol we are making? also you probably need a checksum if you are dropping characters. DSM-232 now it accepts packets containing vessel state information instead of just "draw this text here" commands too
|
# ? Aug 9, 2015 23:06 |
|
but, but...it has an altitude reading right there
|
# ? Aug 9, 2015 23:42 |
|
Awia posted:but, but...it has an altitude reading right there that's just so I know it's working the endgame is a giant red staging button with various read outs I can scroll through on the display
|
# ? Aug 9, 2015 23:52 |
|
Luigi Thirty posted:that's just so I know it's working does KSP have an api or are you doing something crazy?
|
# ? Aug 9, 2015 23:56 |
|
KSP has an API. I just wrote a plugin that grabs the vessel state information and shoves data out to the device.
|
# ? Aug 9, 2015 23:58 |
|
that's pretty cool
|
# ? Aug 10, 2015 00:00 |
|
Mahatma Goonsay posted:what are we gonna call this new serial protocol we are making? also you probably need a checksum if you are dropping characters. CS-69 the CS stands for cleaveland steamaer
|
# ? Aug 10, 2015 08:18 |
|
if parity bits are so cool why does everything use 9600,8,N,1?
|
# ? Aug 10, 2015 19:39 |
|
Luigi Thirty posted:if parity bits are so cool why does everything use 9600,8,N,1? a parity bit is the least you can do to detect, but not correct, a single bit error. if you want to do something more complicated than detect that a byte is corrupted, or detect a different type of corruption than a single bit error then you'll need some protocol above what the hardware provides. the hardware provided parity bit becomes less useful once you're doing error correction and detection in your protocol, may as well use 8n1 to get more bandwidth out of the channel.
|
# ? Aug 10, 2015 19:50 |
|
oh also 8n1 is very needs suiting for stuff in a non-industrial setting where there isn't a lot electrical interference.
|
# ? Aug 10, 2015 19:54 |
|
sund posted:a couple things: Lol what, did they just expect user code to just allocate memory once at startup and leave it at that?
|
# ? Aug 11, 2015 03:23 |
|
BattleMaster posted:Lol what, did they just expect user code to just allocate memory once at startup and leave it at that?
|
# ? Aug 11, 2015 03:40 |
|
you know if you're really nuts you can hook up an SPI interface SRAM chip to the Arduino I would say that one would be better served buying a more powerful board such as the Raspberry Pi 2, which runs Windows 10.
|
# ? Aug 11, 2015 03:53 |
|
Luigi Thirty posted:you know if you're really nuts you can hook up an SPI interface SRAM chip to the Arduino in the embedded world there isn't much between 8-bit micros designed for running washing machine front panels and 32-bit multicores designed for running desktop OSes
|
# ? Aug 11, 2015 04:15 |
|
BattleMaster posted:in the embedded world there isn't much between 8-bit micros designed for running washing machine front panels and 32-bit multicores designed for running desktop OSes i don't understand the arm cortex m0
|
# ? Aug 11, 2015 04:53 |
|
BattleMaster posted:in the embedded world there isn't much between 8-bit micros designed for running washing machine front panels and 32-bit multicores designed for running desktop OSes your washer ran into a problem and needs to restart (ERR_UNBALANCED_LOAD) *door opens and floods house*
|
# ? Aug 11, 2015 04:59 |
|
i want a dumber house, not a smarter house. i want things i can fix myself with a soldering iron.
|
# ? Aug 11, 2015 05:02 |
|
Cold on a Cob posted:i want a dumber house, not a smarter house. i want things i can fix myself with a soldering iron. Don't you want to turn on your soldering iron with your phone so that it's already hot and prepared for you as you walk through the door? What about your person soldering achievements??
|
# ? Aug 11, 2015 06:03 |
|
gonadic io posted:Don't you want to turn on your soldering iron with your phone so that it's already hot and prepared for you as you walk through the door? *pocket-dials soldering iron, burns house down*
|
# ? Aug 11, 2015 06:23 |
|
BattleMaster posted:Lol what, did they just expect user code to just allocate memory once at startup and leave it at that? ideally you don't actually alloc at all at runtime, and all "allocations" in your code compile/link down to offsets relative to a base address I bet there are ways to leverage fancy type system tricks to let you write code that looks like it's doing dynamic allocation that actually winds up doing everything statically, or cause a compile or link error if you do something that really will require runtime dynamism so you can adjust buffer sizes, adjust code, etc.
|
# ? Aug 11, 2015 06:55 |
|
BattleMaster posted:in the embedded world there isn't much between 8-bit micros designed for running washing machine front panels and 32-bit multicores designed for running desktop OSes you run the washing machine itself using the microcontroller the 32/64-bit multicore CPU with an adapted desktop OS is for running the washing machine's UI
|
# ? Aug 11, 2015 06:58 |
|
lol if u can't change your washing machine's desktop background
|
# ? Aug 11, 2015 07:00 |
|
eschaton posted:you run the washing machine itself using the microcontroller the microcontroller costs three cents, cut it. the rtos is another nickel, so it can go, too also we outsourced to a webos consultancy in brazil, so it's all done on a single-threaded message pump in userspace. but it looks really cool
|
# ? Aug 11, 2015 07:02 |
|
internet of thangs
|
# ? Aug 11, 2015 08:12 |
|
I love being able to control your washing machine from my phone
|
# ? Aug 11, 2015 09:39 |
|
Notorious b.s.d. posted:the microcontroller costs three cents, cut it. the rtos is another nickel, so it can go, too my washer is a sarnsung so I should be lucky it's not running android
|
# ? Aug 11, 2015 12:21 |
|
it's probably running Tizen though?
|
# ? Aug 12, 2015 03:48 |
|
AWWNAW posted:it's probably running Tizen though? that would probably be an improvement i got the thing to do something useful too, show me my goddamn orbit parameters without needing mapview or mechjeb open. i wish i had a bigger screen than 2x16 or more readouts though. maybe i need one of those graphic LCDs. i do have enough parts to put together an SPI-controlled 8-digit 7-segment display but i haven't been able to cram everything i need for that onto one breadboard so the footprint Luigi Thirty fucked around with this message at 04:51 on Aug 12, 2015 |
# ? Aug 12, 2015 04:47 |
|
Luigi Thirty posted:that would probably be an improvement lol no
|
# ? Aug 12, 2015 05:02 |
|
tizen is a crappy knockoff of anroid
|
# ? Aug 12, 2015 05:24 |
|
BattleMaster posted:internet of thongs
|
# ? Aug 12, 2015 12:37 |
|
so we have a new web dev "hey please add this google analytics snippet to the site: (link to my personal gh repo) it goes in the <head>" sent that 2 fridays ago, last week i was on vacation, come back to the realisation that instead of adding the code as a sane person would he just pasted the link verbatim as the first <body> line and every loving page if the company site has been advertising my gh for a week when i asked wtf wasn't clear about "put the code in the <head>" he explains that he doesn't understand what a <head> is dude uses frontpage 2003 in strictly wysiwyg mode so we have another new web dev
|
# ? Aug 12, 2015 13:27 |
|
lol you hired a web guy who can't web
|
# ? Aug 12, 2015 13:31 |
|
how is your hiring process that bad
|
# ? Aug 12, 2015 13:35 |
|
yeah my client went with a bargain basement shop that does restaurant microsites because ~costs~
|
# ? Aug 12, 2015 13:39 |
|
|
# ? May 12, 2024 19:28 |
|
my local market is 50-75$ for a junior dev and 100-150 for a senior on a contractual basis, dude bid 45 he still managed to rack up thousands in billables which i'll be going over because there's no loving way stuff like changing 100 pictures from 10mp to 640*480 should take 3 hours when you don't do any actual work on them hell, if you're not completely retarded you just install this https://imageresizer.codeplex.com/ he somehow got control of the domain though so that's going to be pretty lol to resolve
|
# ? Aug 12, 2015 13:44 |