Topics

First Arduino sketch loaded

Charles D. Smith
 

nobody laugh ... (ok, go ahead)  ... I just loaded and modified my first sketch ... so changing out “world” and putting in my town isn’t much of a change, it’s something. Plus, I varied the count too ... woohoo!
before I plug the computer into the raduino, I’m going to get a much better handle on this stuff!  But it’s very exciting to a pencil and paper guy!
72/73 de Chas ai4ot. 

Jack, W8TEE
 

I know of a great book that can help you... :>)

Jack, W8TEE



From: Charles D. Smith <laborlawyer@...>
To: BITX20@groups.io
Sent: Thursday, February 1, 2018 8:42 PM
Subject: [BITX20] First Arduino sketch loaded

nobody laugh ... (ok, go ahead)  ... I just loaded and modified my first sketch ... so changing out “world” and putting in my town isn’t much of a change, it’s something. Plus, I varied the count too ... woohoo!
before I plug the computer into the raduino, I’m going to get a much better handle on this stuff!  But it’s very exciting to a pencil and paper guy!
72/73 de Chas ai4ot. 


Ken
 

Pitch Jack, pitch it...hi hi

73

Ken VA3ABN

On Thu, Feb 1, 2018 at 9:20 PM, Jack Purdum via Groups.Io <jjpurdum@...> wrote:
I know of a great book that can help you... :>)

Jack, W8TEE



From: Charles D. Smith <laborlawyer@...>
To: BITX20@groups.io
Sent: Thursday, February 1, 2018 8:42 PM
Subject: [BITX20] First Arduino sketch loaded

nobody laugh ... (ok, go ahead)  ... I just loaded and modified my first sketch ... so changing out “world” and putting in my town isn’t much of a change, it’s something. Plus, I varied the count too ... woohoo!
before I plug the computer into the raduino, I’m going to get a much better handle on this stuff!  But it’s very exciting to a pencil and paper guy!
72/73 de Chas ai4ot. 



John P
 

That's where every "C" programmer in the world started! Congrats! 
--
John - WA2FZW

Charles D. Smith
 

One book at a time ... your “projects” book is all I can handle right now ... I’m hoping if I put it under my pillow, I’ll learn some code ;-)


On Feb 1, 2018, at 9:21 PM, Jack Purdum via Groups.Io <jjpurdum@...> wrote:

I know of a great book that can help you... :>)

Jack, W8TEE



From: Charles D. Smith <laborlawyer@...>
To: BITX20@groups.io
Sent: Thursday, February 1, 2018 8:42 PM
Subject: [BITX20] First Arduino sketch loaded

nobody laugh ... (ok, go ahead)  ... I just loaded and modified my first sketch ... so changing out “world” and putting in my town isn’t much of a change, it’s something. Plus, I varied the count too ... woohoo!
before I plug the computer into the raduino, I’m going to get a much better handle on this stuff!  But it’s very exciting to a pencil and paper guy!
72/73 de Chas ai4ot. 


Stig oz8pz-oz8wsp-oz8wsr
 

I too know a very good book, i just get it to my 70. years birthday from my daugters.
It is called Beginning C for Arduino, second edition. ISBN 978-1-4842-0941-7.
I sit with my PC, the Arduino and the book. I have coded an Arduino for controling the
heat in my House a year Ago, that work just fine, but now i learn a lot exstra about using the programing languish never understand. Its a book for both new “programmers” and those that had programmed for some time.
Good Luck with programming, it is realy fun, The more you learn, the more fun.
73, Oz8pz, stig in Denmark
Sendt fra min iPad

Den 2. feb. 2018 kl. 03.20 skrev Jack Purdum via Groups.Io <jjpurdum@...>:

I know of a great book that can help you... :>)

Jack, W8TEE



From: Charles D. Smith <laborlawyer@...>
To: BITX20@groups.io
Sent: Thursday, February 1, 2018 8:42 PM
Subject: [BITX20] First Arduino sketch loaded

nobody laugh ... (ok, go ahead)  ... I just loaded and modified my first sketch ... so changing out “world” and putting in my town isn’t much of a change, it’s something. Plus, I varied the count too ... woohoo!
before I plug the computer into the raduino, I’m going to get a much better handle on this stuff!  But it’s very exciting to a pencil and paper guy!
72/73 de Chas ai4ot. 


Arv Evans
 

T
​he C Programming Language (The K&R Manual) by Brian Kernigan and Dennis Ritchie
was where most of us really old coders started, but Jack was not far behind.​  I have a well
worn copy of his book as well as a 1st edition K&R.
Then came Bjarne Stroustrup and C++

https://en.wikipedia.org/wiki/Bjarne_Stroustrup

C++ is what we use on Arduino systems like the Raduino.

Arv  K7HKL
_._


On Thu, Feb 1, 2018 at 7:54 PM, John P <j.m.price@...> wrote:
That's where every "C" programmer in the world started! Congrats! 
--
John - WA2FZW


Jerry Gaffke
 

Most Arduino code pretty much ignores the "++" thing, using vanilla C.
Being an older coder guy and having learned from a first edition K&R in the early 1980's,
the extra stuff that C++ has to offer has never seemed worth the bother.
Especially on a microcontroller, where you really want to know exactly
what your code will compile down to. 

My advice is to first concentrate on learning C, hold off on C++

Jerry


On Fri, Feb 2, 2018 at 08:35 am, Arv Evans wrote:
C++ is what we use on Arduino systems like the Raduino.

Vince Vielhaber
 

I had both the K&R and Bjarn books. I donated them to work when I retired last month. Both books were well worn.

Vince.

On 02/02/2018 11:34 AM, Arv Evans wrote:
T
​he C Programming Language (The K&R Manual) by Brian Kernigan and Dennis
Ritchie
was where most of us really old coders started, but Jack was not far
behind.​ I have a well
worn copy of his book as well as a 1st edition K&R.

http://cs.indstate.edu/~cbasavaraj/cs559/the_c_programming_language_2.pdf <http://cs.indstate.edu/%7Ecbasavaraj/cs559/the_c_programming_language_2.pdf>

https://en.wikipedia.org/wiki/Dennis_Ritchie

Then came Bjarne Stroustrup and C++

https://en.wikipedia.org/wiki/Bjarne_Stroustrup

C++ is what we use on Arduino systems like the Raduino.

Arv K7HKL
_._


On Thu, Feb 1, 2018 at 7:54 PM, John P <j.m.price@...
<mailto:j.m.price@...>> wrote:

That's where every "C" programmer in the world started! Congrats!
--
John - WA2FZW


Jack, W8TEE
 

I was at the Software Development Conference (probably mid-1980's) where Bjarne was the keynote speaker. There were about 750 of us there to hear about this new thing his paper was about titled: "C with Classes". (OOP was not widely known, if at all, by any of the programmers.) About an hour and a half later, 749 people walked out mumbling "What the f_@% was that all about?"

Jack, W8TEE



From: Vince Vielhaber <vev@...>
To: BITX20@groups.io
Sent: Friday, February 2, 2018 12:28 PM
Subject: Re: [BITX20] First Arduino sketch loaded

I had both the K&R and Bjarn books.  I donated them to work when I
retired last month.  Both books were well worn.

Vince.


On 02/02/2018 11:34 AM, Arv Evans wrote:
> T
> ​he C Programming Language (The K&R Manual) by Brian Kernigan and Dennis
> Ritchie
> was where most of us really old coders started, but Jack was not far
> behind.​  I have a well
> worn copy of his book as well as a 1st edition K&R.
>
> http://cs.indstate.edu/~cbasavaraj/cs559/the_c_programming_language_2.pdf <http://cs.indstate.edu/%7Ecbasavaraj/cs559/the_c_programming_language_2.pdf>
>
> https://en.wikipedia.org/wiki/Dennis_Ritchie
>
> Then came Bjarne Stroustrup and C++
>
> https://en.wikipedia.org/wiki/Bjarne_Stroustrup
>
> C++ is what we use on Arduino systems like the Raduino.
>
> Arv  K7HKL
> _._
>
>
> On Thu, Feb 1, 2018 at 7:54 PM, John P <j.m.price@...
> <mailto:j.m.price@...>> wrote:
>
>    That's where every "C" programmer in the world started! Congrats!
>    --
>    John - WA2FZW
>
>
>

--
  Michigan VHF Corp.  http://www.nobucks.net/   http://www.CDupe.com/
                          http://www.metalworkingfun.com





Jack, W8TEE
 

Agreed. If someone is just getting started with C programming, learn C first. However, if you want to dink around with the libraries, many (most?) are written in C++. That's why the last chapter of my book has A Gentle Introduction to Object Oriented Programming and C++. Obviously, no one is going to teach OOP in one chapter, but it should help someone read what's in the libraries. Indeed, some aspects of C++ are pretty powerful (e.g., multiple inheritance), but rarely needed in our environment.  At the outset, just stick with C.

Jack, W8TEE



From: Jerry Gaffke via Groups.Io <jgaffke@...>
To: BITX20@groups.io
Sent: Friday, February 2, 2018 12:25 PM
Subject: Re: [BITX20] First Arduino sketch loaded

Most Arduino code pretty much ignores the "++" thing, using vanilla C.
Being an older coder guy and having learned from a first edition K&R in the early 1980's,
the extra stuff that C++ has to offer has never seemed worth the bother.
Especially on a microcontroller, where you really want to know exactly
what your code will compile down to. 

My advice is to first concentrate on learning C, hold off on C++

Jerry


On Fri, Feb 2, 2018 at 08:35 am, Arv Evans wrote:
C++ is what we use on Arduino systems like the Raduino.


Arv Evans
 

Jerry

I totally agree.  What "class" stuff that is in the Arduino libraries
can pretty much be used without having to delve into it.  The rest
can all be classic C-language. 

Arv
_._


On Fri, Feb 2, 2018 at 10:24 AM, Jerry Gaffke via Groups.Io <jgaffke@...> wrote:
Most Arduino code pretty much ignores the "++" thing, using vanilla C.
Being an older coder guy and having learned from a first edition K&R in the early 1980's,
the extra stuff that C++ has to offer has never seemed worth the bother.
Especially on a microcontroller, where you really want to know exactly
what your code will compile down to. 

My advice is to first concentrate on learning C, hold off on C++

Jerry


On Fri, Feb 2, 2018 at 08:35 am, Arv Evans wrote:
C++ is what we use on Arduino systems like the Raduino.


Rod Davis
 

Hi All,

I suggest staying away from the Kernighan&Ritchie C book. I used it in the late 70s to learn C.

I have long mused that K&R C is the worst example of technical documentation that I have seen.

There are much better ways to learn C. I have not seen Jack Purdum's book, but I suspect it is
a wonderful book.

YMMV,

Rod KM6SN

On 02/02/2018 10:12 AM, Arv Evans wrote:
I totally agree.  What "class" stuff that is in the Arduino libraries

Jerry Gaffke
 

I guess it depends on how you learn.

K&R C  is compact and concise, delving deeply into intracacies that some would prefer to ignore.
I found it easy to follow, and engaging enough that it was hard to put down.
Reviewers on Amazon like it at least as much as any other C book.
Perhaps a bit dated now in that it was written for somebody hovering over an ASR33,
though I don't see that as a minus. 
You definitely want the 2'd edition, covering the ANSI C extensions of the late 1980's.

Best bet might be to find a brick and mortar bookstore that carries it, see if it grabs you.
Or perhaps some other book works for you.
And give them some business if it does.
 
Jerry


On Fri, Feb 2, 2018 at 10:33 am, Rod Self wrote:
I have long mused that K&R C is the worst example of technical documentation that I have seen.

There are much better ways to learn C. I have not seen Jack Purdum's book, but I suspect it is
a wonderful book.

YMMV,

Vince Vielhaber
 

"C Made Easy" and the revised version "Ansi C Made Easy" is an excellent book for learning C. Takes you step by step, but when you're learning a copy of K&R nearby is almost a must.

Vince.

On 02/02/2018 01:33 PM, Rod Self wrote:
Hi All,

I suggest staying away from the Kernighan&Ritchie C book. I used it in
the late 70s to learn C.

I have long mused that K&R C is the worst example of technical
documentation that I have seen.

There are much better ways to learn C. I have not seen Jack Purdum's
book, but I suspect it is
a wonderful book.

YMMV,

Rod KM6SN


On 02/02/2018 10:12 AM, Arv Evans wrote:
I totally agree. What "class" stuff that is in the Arduino libraries

James Lynes
 

Met Bjarne in a Birds of a Feather session at an OOPSLA(Object Oriented Programming Systems and Languages) conference in the Pacific Northwest. just to further name drop, I also met Ester Dyson at the same conference. Her Release 1.0 newsletter was always a great source to where the software industry was going.

Objective C always made more sense to me than C++.

James

K9WIS
 

I didn't think anyone used code anymore...its all FT8...hi hi
Brian K9WIS

---- "Charles D. Smith" <@ChasAI4OT> wrote:
One book at a time ... your “projects” book is all I can handle right now ... I’m hoping if I put it under my pillow, I’ll learn some code ;-)
On Feb 1, 2018, at 9:21 PM, Jack Purdum via Groups.Io <jjpurdum=yahoo.com@groups.io<mailto:jjpurdum=yahoo.com@groups.io>> wrote:

I know of a great book that can help you... :>)

Jack, W8TEE


________________________________
From: Charles D. Smith <@ChasAI4OT<mailto:@ChasAI4OT>>
To: BITX20@groups.io<mailto:BITX20@groups.io>
Sent: Thursday, February 1, 2018 8:42 PM
Subject: [BITX20] First Arduino sketch loaded

nobody laugh ... (ok, go ahead) ... I just loaded and modified my first sketch ... so changing out “world” and putting in my town isn’t much of a change, it’s something. Plus, I varied the count too ... woohoo!
before I plug the computer into the raduino, I’m going to get a much better handle on this stuff! But it’s very exciting to a pencil and paper guy!
72/73 de Chas ai4ot.