Search found 57 matches

by sigi
Tue Nov 03, 2020 4:14 pm
Forum: General discussion
Topic: ST7796
Replies: 2
Views: 2589

ST7796

did somebody have a working library for ST7796 based tfts?? Im thinking on buying a 4inch unit, but I do not know if the ILI9341 works with it...
by sigi
Mon Nov 02, 2020 6:12 pm
Forum: Off topic
Topic: Throttle wireless sensor
Replies: 16
Views: 10252

Re: Throttle wireless sensor

maybe this units can make the magic with a small magnet on each side... if u are tired of joysticks with potentiometers like me this is the way to go I suppose ... https://robotdyn.com/hall-magnetic-sensor-with-analog-digital-outs.html https://robotdyn.com/pub/media/catalog/product/cache/315e241f4b5...
by sigi
Mon Oct 26, 2020 1:38 am
Forum: General discussion
Topic: HardwareTimer inside a Class
Replies: 8
Views: 3779

Re: HardwareTimer inside a Class

Thanks GonzoG! now It works properly...
by sigi
Sun Oct 25, 2020 6:22 pm
Forum: General discussion
Topic: HardwareTimer inside a Class
Replies: 8
Views: 3779

Re: HardwareTimer inside a Class

Your timer declaration might be wrong. It should be like this: HardwareTimer *MyTim; Motor(...) { .... this->TimerNum = TimerNum; MyTim = new HardwareTimer(this->TimerNum); ... } All variables in class are created before you run constructor so you timer is created before you assign value to TimerNu...
by sigi
Sun Oct 25, 2020 12:27 am
Forum: General discussion
Topic: HardwareTimer inside a Class
Replies: 8
Views: 3779

Re: HardwareTimer inside a Class

because the PC13 is not in normal conditions as when the timer is not inside the class. Another more complete example of the code, that does not work for some reason... class Motor { public: uint8_t pinPulse; uint8_t pinDirec; uint8_t pinEnable; uint8_t TimerNum; Motor(uint8_t pinPulse, uint8_t pinD...
by sigi
Sat Oct 24, 2020 5:38 pm
Forum: General discussion
Topic: HardwareTimer inside a Class
Replies: 8
Views: 3779

HardwareTimer inside a Class

Hi did somebody knows why this compiles but freezes the blackpill MCU? (PC13 LED flashes always and does not run anything more) class Motor { public: uint8_t pinPulse; uint8_t pinDirec; uint8_t pinEnable; uint8_t TimerNum; Motor(uint8_t pinPulse, uint8_t pinDirec, uint8_t pinEnable, uint8_t TimerNum...
by sigi
Wed Oct 07, 2020 9:51 pm
Forum: Off topic
Topic: Throttle wireless sensor
Replies: 16
Views: 10252

Re: Throttle wireless sensor

I think so, but I can not find a kit on any place with both parts...
by sigi
Wed Oct 07, 2020 2:14 pm
Forum: Off topic
Topic: Throttle wireless sensor
Replies: 16
Views: 10252

Re: Throttle wireless sensor

well they are NOT wireless sensors, they are contactless sensors sorry for that.
by sigi
Wed Oct 07, 2020 2:03 pm
Forum: Off topic
Topic: Throttle wireless sensor
Replies: 16
Views: 10252

Re: Throttle wireless sensor

exactly! :shock: thats why I want the parts...
by sigi
Sun Oct 04, 2020 10:15 pm
Forum: Off topic
Topic: Throttle wireless sensor
Replies: 16
Views: 10252

Throttle wireless sensor

Hi
I wonder if somebody knows which kind of sensor (brand, part #) premium game controllers like Virpil uses for the joysticks and throttle units...
as a reference:
https://www.youtube.com/watch?v=5QvWvrm ... u.be&t=303

Go to advanced search