Search found 5 matches

by leogomide07
Fri Oct 02, 2020 4:53 am
Forum: General discussion
Topic: USB Composite read MIDI messages
Replies: 3
Views: 446

Re: USB Composite read MIDI messages

Greetings, sorry for the delay

I have tested to change the ID number, does not work too

And yes, traktor can identify it as a midi in-out device

Hope some day we can have this lib to the official stm32 core :/
by leogomide07
Sun Sep 13, 2020 11:54 pm
Forum: General discussion
Topic: USB Composite read MIDI messages
Replies: 3
Views: 446

USB Composite read MIDI messages

Greetings Everyone. Im trying to get messages from Traktor in my bluepill, but when i send a message in the software, my function is never called Im using the exemple that comes with the library, but with the onboard led: #include <USBComposite.h> class myMidi : public USBMIDI { virtual void handleN...
by leogomide07
Fri Jan 31, 2020 12:09 pm
Forum: General discussion
Topic: Robotdyn STM32F303CCT6 ADC conversion time
Replies: 5
Views: 1578

Re: Robotdyn STM32F303CCT6 ADC conversion time

To redefine int you can create a build_opt.h file and define the desired value: -DADC_SAMPLINGTIME=ADC_SAMPLETIME_1CYCLE_5 I tried to creat a file called build_opt.h with the line you suggested and added #include "build_opt.h" , but i get the following error: In file included from src\main.cpp:3:0:...
by leogomide07
Fri Jan 31, 2020 12:02 am
Forum: General discussion
Topic: Robotdyn STM32F303CCT6 ADC conversion time
Replies: 5
Views: 1578

Re: Robotdyn STM32F303CCT6 ADC conversion time

ADC_SAMPLINGTIME and ADC_CLOCK_DIV could also be redefined by the variant or using build_opt.h. See https://github.com/stm32duino/wiki/wiki/API#adc-internal-channels as shown in the link, i added #include "stm32f3xx_ll_adc.h" and tried this two ways, but none of them worked: #if defined(STM32F3xx) ...
by leogomide07
Thu Jan 30, 2020 4:21 pm
Forum: General discussion
Topic: Robotdyn STM32F303CCT6 ADC conversion time
Replies: 5
Views: 1578

Robotdyn STM32F303CCT6 ADC conversion time

Im getting too higher ADC conversion time on the STM32 F303CCT6 Black Pill Board, around 200-220 us It can be some clock configurations? There is any other function other than AnalogRead() that have a better conversion time? There is some configuration of number of cycles for this reading? Just for ...

Go to advanced search