Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #197890
| From | cyaiplexys <cyaiplexys@sitesplace.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Arduino and Python or gcc compiler? |
| Date | 2018-07-22 16:40 +0200 |
| Message-ID | <wenGG-2y6-13@gated-at.bofh.it> (permalink) |
| References | <wenGG-2y6-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 07/22/2018 03:26 AM, Joe wrote: Joe, please forgive me that I forgot to click "Reply to list". I have NO valid excuse why I keep doing stupid things like that. :( > On Sat, 21 Jul 2018 18:15:12 -0400 > cyaiplexys <cyaiplexys@sitesplace.net> wrote: > >> I am getting the Elegoo Super Starter Kit (Arduino Uno R3) to tinker >> with (it's on order as of when I'm writing this post). >> >> I looked in the Debian repos for stuff on Arduino and didn't find >> much (at least not of interest to me). >> >> I did download the IDE from Elegoo and their tutorials and libraries. >> But it's all in C/C++. While I do know C and C++ (to some extent), >> I'm very bad at it (I admit to not using it very much, maybe once >> every other blue moon and lately we haven't had any blue moons that >> warranted using C). >> >> I recently been doing stuff in Python (especially for work, which is >> not Arduino related in any way). I am really getting to like Python. >> I have created my own Python Libraries for other things (again >> unrelated) and even compiled them to .so (binary) using the 'cython' >> compiler. >> >> While I could create C source of a Python script using cython, I >> don't know how to compile the resulting C source and upload it to the >> Arduino board. I would like to use gcc. >> >> Is there a cross-platform compiler for Arduino and gcc that anyone >> has had experience with that works or they can recommend? >> >> Or some way to program in Python? >> > > > Sure if I was going there I wouldn't be after starting from here... > > I've seen your later post, and you may indeed be overestimating what > the Arduino can do, it's basically a very well developed ecosystem for > a microcontroller, with lots of real-world interfaces available. Just > for tinkering with electronics, it's fine. > > If you're after a more powerful (i.e. PC-like) tinkering gadget, you > might be better looking at the Raspberry Pi (Pi for Python) and the > subsequent similar devices. More expensive than the Arduino, but still > pretty cheap. The Pi runs more than one OS, but the Raspbian version of > Debian is probably most widely-used. The Pi also has a great many > interface devices available, and Python is the expected scripting > language. I will probably end up with one of those sooner or later. A friend as a Pi (I thought Pi meant 3.14...) I keep hearing about Arduino and Raspberry Pi and always wondered what they were all about. So I chose to experiment with Arduino first. I know *nothing* about either at the moment. Still in the learning, Googling, asking stupid questions, etc. phase. :) I think my mindset also came from my days of trying to program the WowWee RoboSapien RS Media (ARM/Linux with Java). That was like a fully programmable computer and robot all in one. I don't mind using C, but am pretty bad at it. Maybe this is the time to finally get better at it.
Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread
Re: Arduino and Python or gcc compiler? cyaiplexys <cyaiplexys@sitesplace.net> - 2018-07-22 16:40 +0200
Re: Arduino and Python or gcc compiler? Erik Christiansen <dvalin@internode.on.net> - 2018-07-22 17:20 +0200
Re: Arduino and Python or gcc compiler? cyaiplexys <cyaiplexys@sitesplace.net> - 2018-07-22 17:40 +0200
Re: Arduino and Python or gcc compiler? Joe <joe@jretrading.com> - 2018-07-22 20:30 +0200
Re: Arduino and Python or gcc compiler? cyaiplexys <cyaiplexys@sitesplace.net> - 2018-07-22 22:50 +0200
csiph-web