Notifications
Clear all

Getting started with Arduino Nano 33 Iot - Programming Issue

10 Posts
3 Users
0 Likes
933 Views
Jim H
(@jim-h)
Member
Joined: 2 years ago
Posts: 10
Topic starter  

In regard to the BLE Central and Peripheral control of LED.

I can't get mine to work at all.  I checked everything too.

Has anybody else had a problem with getting this to work? 


   
Quote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6964
 

@jim-h Is that a sample sketch?

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
Jim H
(@jim-h)
Member
Joined: 2 years ago
Posts: 10
Topic starter  

Two Example Sketch/s from the Arduino IDE was used in this lesson.

They are from directory:

Examples, Arduino BLE, Central, LED Control.

and

Examples, Arduino BLE, Peripheral, LED.

Thanks for asking.

Jim H

 


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6964
 

@jim-h Sorry, even after installing the Arduino BLE library I don't see those examples. You need to be very precise when telling us something doesn't work. In order for us to replicate the problem we have to have the same board selected, have the same libraries installed, and then we can load the same examples. The words you use must be exact, there are many similar libs and examples. Sometimes a screenshot of which I am attaching a sample. The error is I am selecting an UNO and this is an INCOMPATIBLE sketch. What board do you have selected? Notice in the screenshot the examples were found under INCOMPATIBLE. I knew it would not compile but went ahead to see why.

Screen Shot 2022 04 04 at 14.42.58

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6964
 

@jim-h I installed an appropriate board and both those sketches compile clean. What board are you targeting? 

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
Jim H
(@jim-h)
Member
Joined: 2 years ago
Posts: 10
Topic starter  

Ron, my example sketches I used did compile OK.  The demo just didn't work.

The Arduino board I used for this demo was the Nano 33 Iot.

 


   
ReplyQuote
Jim H
(@jim-h)
Member
Joined: 2 years ago
Posts: 10
Topic starter  

Ron, I didn't do this on my own.  I followed Bill's video lesson " Getting Started with the Arduino Nano 33 Iot".


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6964
 

@jim-h Ok, so you used the same sketch as Bill and wired the same board to the same components as Bill. His worked but yours didn't. Is that the situation?

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
Jim H
(@jim-h)
Member
Joined: 2 years ago
Posts: 10
Topic starter  

@zander Yes, that is correct.


   
ReplyQuote
frogandtoad
(@frogandtoad)
Member
Joined: 5 years ago
Posts: 1458
 

@jim-h

Posted by: @jim-h

@zander Yes, that is correct.

It's not enough to just quote someone else's failures 🙂

Please tell us your own experiences, specifically code warnings and errors from your compiler!
Did you turn them up in your preferences?

Cheers


   
ReplyQuote