Stater kit project 13

Hi I’m working my way through the beginner ms stater kit m, I’ve hit a problem.


I’ve copied the the code but when I verify it it come up with the error message, it’s the same if I use the code in the examples, how can I get round this? I have copied the code exactly from the book!

I moved your topic to an appropriate forum category @metalmanic.

In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.

This is an important part of responsible forum usage, as explained in the "How to get the best out of this forum" guide. The guide contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.

1 Like

Please do not use screenshots as replacemant of the code and error messages.
Read the forum rules and insert your code and error messages as text using the code tags.

Senor != Sensor

2 Likes

also
sensorValue != sensorvalue

1 Like

You have capactiveSENOR, not SENSOR
Spelling & Capitalization counts

1 Like

Also "Starter Kit".

I'd imagine that the source for these projects is available as cut-and-paste (actually copy-and-paste), so you shouldn't really be having simple transcription errors.

As @anon56112670 said, be more careful with your copy/paste. You have a few lines missing "above" the image you showed.

https://drago1234.github.io/arduino/2016/12/20/arduino-projects-book-project-13/

I didn’t copy and paste thanks, I will look at it all tomorrow, thanks for the help :+1:

Look also at the first code line in the loop function - yet another transcription error.

Why ever not?

It is actually even more accessible than that. They are all available from the File > Examples > 10.StarterKit_BasicKit menu in Arduino IDE.

I already pointed this out to @metalmanic in another topic but they want to continue with the manual transcription from the Starter Kit book, which I think is reasonable.

Yes I see my error, I will have to pay more attention!!

Because I don’t learn anything and I get to talk to more knowledgeable people!

"Paying more attention" is the #1 skill needed to code or engineer. The closer attention you pay, especially to the tiniest details (ex spelling & capitalization), makes a HUGE difference between success and failure, ease and frustration.
Welcome. You've learned.

Oh yes, that’s why I don’t copy and paste, I want to Know how and why it works, not that it just does, thanks for the help

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.