Page 1 of 3

Examples

Posted: Sun Jan 24, 2021 6:40 pm
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 7549 times
and this is what I need = a long list

08FCBE6F5AA04A99A56D4BFD23AA2948.jpg
08FCBE6F5AA04A99A56D4BFD23AA2948.jpg (87.8 KiB) Viewed 7534 times

Re: Examples

Posted: Sun Jan 24, 2021 6:54 pm
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!

Re: Examples

Posted: Sun Jan 24, 2021 7:40 pm
by stan
After installing libraries from both links, list do not changed

Re: Examples

Posted: Sun Jan 24, 2021 10:54 pm
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.

Re: Examples

Posted: Mon Jan 25, 2021 12:07 am
by stan
Roger's Clark core (second). =I have missed those boards, where I can find them ?

Re: Examples

Posted: Mon Jan 25, 2021 2:10 am
by GonzoG

Re: Examples

Posted: Mon Jan 25, 2021 2:47 pm
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

Re: Examples

Posted: Mon Jan 25, 2021 2:55 pm
by stevestrong
You have to first select the correct board ("Generic STM32F103C8 series") and then you will have a long list of examples.

Re: Examples

Posted: Mon Jan 25, 2021 4:32 pm
by stan
Not much to choose
list 5.png
list 5.png (61.4 KiB) Viewed 7438 times
I have this board installed
board 2.png
board 2.png (40.89 KiB) Viewed 7438 times

Re: Examples

Posted: Mon Jan 25, 2021 5:06 pm
by fpiSTM
@stan
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.