Notifications
Clear all

Hello to all and thanks for the add to your group

5 Posts
3 Users
3 Likes
604 Views
DennisJ
(@dennisj)
Member
Joined: 3 years ago
Posts: 3
Topic starter  

My name is Dennis. I have managed to make it to 72 years old. I am a retired accountant and no, I cannot help you with your taxes. I pay a CPA to do mine!

Anyhow, I like to fool around with Arduinos of various sizes. Primarily, I like to use them on my N scale model railroad, The Crooked Tie and Rusty Frog.

I have some experience programming with Basic and Visual Basic but I am very puzzled by the newer languages. I understand that the Arduino uses the C language which I have never used. Can someone explain why commands start with “Void”. This really baffles me. In Basic, one uses Read, Write, Print and the sort. So, I am sure you can see that I am stumbling when trying to write a “sketch” for Arduino.

Any help from my new “buds” on this forum will be very welcome.

Looking forward to chatting with everyone,

Dennis

 

DHJ


   
Quote
robotBuilder
(@robotbuilder)
Member
Joined: 5 years ago
Posts: 2043
 
Posted by: @dennisj

Can someone explain why commands start with “Void”. This really baffles me. In Basic, one uses Read, Write, Print and the sort. So, I am sure you can see that I am stumbling when trying to write a “sketch” for Arduino.

Welcome to the forum Dennis,  plenty of oldies here 🙂

void simply declares that a function doesn't return a value.
https://www.cplusplus.com/doc/tutorial/functions/

Learning a new computer language isn't all that difficult,  just one step at a time,  one program example at a time.  A good challenge in keeping the neurons well oiled.

 


   
DennisJ reacted
ReplyQuote
Photo Bud
(@photo-bud)
Member
Joined: 5 years ago
Posts: 89
 
Posted by: @dennisj

My name is Dennis. I have managed to make it to 72 years old. 

...

Anyhow, I like to fool around with Arduinos of various sizes. Primarily, I like to use them on my N scale model railroad, The Crooked Tie and Rusty Frog

...

Dennis

 

Welcome from another old guy (77) and interested in Arduino and model railroading (HO). There is a forum here in High-Tech Hobbies/Model Railroads which isn't getting much action, but perhaps that will change. There are a few of here who fit in that category!

Photo Bud (aka John)
The Old Curmudgeon!


   
DennisJ reacted
ReplyQuote
DennisJ
(@dennisj)
Member
Joined: 3 years ago
Posts: 3
Topic starter  

@robotbuilder

Thank you, this helps a lot

Dennis

DHJ


   
ReplyQuote
DennisJ
(@dennisj)
Member
Joined: 3 years ago
Posts: 3
Topic starter  

@photo-bud

Hi John,

I am new to forum searching and posting, so it took me a bit of time to locate the forum you mentioned. However, I have joined and look forward to the interaction.

Thanks,

Dennis

DHJ


   
Photo Bud reacted
ReplyQuote