Examples

Development environment specific, Arduino, Eclipse, VS2013, Em::Blocks etc
stan
Posts: 70
Joined: Wed Nov 11, 2020 7:40 pm

Examples

Post by stan »

I want to have more examples, how to get them ?
this is what I have
F5630AE05CEF477F95154D4AC664559A.png
F5630AE05CEF477F95154D4AC664559A.png (47.04 KiB) Viewed 690 times
and this is what I need = a long list

08FCBE6F5AA04A99A56D4BFD23AA2948.jpg
08FCBE6F5AA04A99A56D4BFD23AA2948.jpg (87.8 KiB) Viewed 675 times
Last edited by stan on Sun Jan 24, 2021 7:51 pm, edited 1 time in total.
mrburnette
Posts: 361
Joined: Thu Dec 19, 2019 1:23 am
Answers: 1

Re: Examples

Post by mrburnette »

https://www.arduino.cc/reference/en/lib ... -examples/

Roger's Core examples are installed automatically:
https://github.com/rogerclarkmelbourne/ ... s/examples

WARNING: Examples are core-dependent!
stan
Posts: 70
Joined: Wed Nov 11, 2020 7:40 pm

Re: Examples

Post by stan »

After installing libraries from both links, list do not changed
GonzoG
Posts: 91
Joined: Wed Jan 15, 2020 11:30 am
Answers: 5

Re: Examples

Post by GonzoG »

Most of those examples are from installed libraries.
So look for those libraries in library manager or github.

Also on your screenshots you have 2 different cores - STM32 core (first one) and Roger's Clark core (second). Some libraries support both cores, some not, so you won't see examples from those.
stan
Posts: 70
Joined: Wed Nov 11, 2020 7:40 pm

Re: Examples

Post by stan »

Roger's Clark core (second). =I have missed those boards, where I can find them ?
GonzoG
Posts: 91
Joined: Wed Jan 15, 2020 11:30 am
Answers: 5

Re: Examples

Post by GonzoG »

stan
Posts: 70
Joined: Wed Nov 11, 2020 7:40 pm

Re: Examples

Post by stan »

Thanks I almost did,
following the last link I have long list when I using this path; arduino > hardware > library.
When I go ; files>examples the list still short
stevestrong
Posts: 430
Joined: Fri Dec 27, 2019 4:53 pm
Answers: 8
Location: Munich, Germany
Contact:

Re: Examples

Post by stevestrong »

You have to first select the correct board ("Generic STM32F103C8 series") and then you will have a long list of examples.
stan
Posts: 70
Joined: Wed Nov 11, 2020 7:40 pm

Re: Examples

Post by stan »

Not much to choose
list 5.png
list 5.png (61.4 KiB) Viewed 579 times
I have this board installed
board 2.png
board 2.png (40.89 KiB) Viewed 579 times
User avatar
fpiSTM
Posts: 912
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 36
Location: Le Mans
Contact:

Re: Examples

Post by fpiSTM »

[mention]stan[/mention]
The STM32 core does not provide examples like Libmaple core because it is as much as possible compatible with Arduino API. Then it is compatible with all Arduino library following those API. So examples are the same than the library ones.
Libmaple core does not have this "full" compatibility, then several libraries have been modified including examples. That's why per default you got all those examples.

So you need to install all library you need using the Library manager or using a zip and then you will have examples.
Post Reply

Return to “IDE's”