|
Martytoof posted:I guess my biggest question is whether there is any difference between an Arduino sketch compiled into .hex and uploaded or a .c file compiled to .hex and uploaded. My speculation is that there probably isn't, and the CPU will execute just fine, I just wanted to be sure before I ordered a few chips. Though to be fair, a standalone USBasp programmer is really absurdly cheap if it supports the AVR you're using...
|
# ¿ Nov 24, 2012 02:12 |
|
|
# ¿ May 15, 2024 09:57 |
|
Bad Munki posted:It bears pointing out one other potential bonus for using switch statements that if() statements don't do as well, and many people forget: you don't have to use a break after each switch case. If you don't, it'll keep executing the other options until the switch is over or a break is hit. code:
|
# ¿ Nov 28, 2012 00:19 |
|
You're probably best off buying a cheap receiver module, which means you won't have to worry about the antenna since most of the 2.4 GHz ones have one integrated onto the PCB. The first step is probably to figure out what transmitter chip the controller is using and that'll dictate what you can use to receive it; different chips support different modulations, channels, etc and they're not usually compatible with each other. e: if you're talking controllers for RC aircraft and the like, apparently some of them use custom chips, encryption, frequency hopping, all sorts of fun stuff. Good luck with that! Sounds like they're more secure than a lot of the 2.4 GHz keyboards out there; fear of cloning by cheap Chinese manufacturers is a much better motivation than your customers getting their credit card details stolen makomk fucked around with this message at 18:02 on May 7, 2013 |
# ¿ May 7, 2013 17:56 |