Search found 4 matches

by ats3788
Sat Jun 06, 2020 10:39 am
Forum: Projects
Topic: 4 Timers ADC with filter and SSD1306Oled Support for beginners
Replies: 1
Views: 3931

4 Timers ADC with filter and SSD1306Oled Support for beginners

I hope it's useful

/*
STM Sample - SSD1306 and filtering ADC Samples
https://github.com/jeroendoggen/Arduino-signal-filtering-library
https://github.com/rogerclarkmelbourne/Arduino_STM32/blob/master/STM32F1/libraries/Adafruit_SSD1306/Adafruit_SSD1306_STM32.h
Chance the Start Logo on the SSD1306 ...
by ats3788
Fri Jun 05, 2020 3:30 pm
Forum: Libraries & Hardware
Topic: [Solved] Hardware Timer
Replies: 3
Views: 25703

Re: Hardware Timer

This is my Code what works


#include <Arduino.h>


USBSerial usb;

#define TOGGLE(x) digitalWrite(x, digitalRead(x) ? LOW : HIGH)
uint32_t Counter1 = 0;
uint32_t Counter2 = 0;
uint32_t Counter3 = 0;
uint32_t Counter4 = 0;

uint16_t Array[1000];
char Buffer[40];

void SetupTimer();


void setup ...
by ats3788
Fri Jun 05, 2020 3:22 pm
Forum: Libraries & Hardware
Topic: [Solved] Hardware Timer
Replies: 3
Views: 25703

Re: Hardware Timer

Thank you
What is realy odd, I tried and tried all kind of different approaches then the bootloader crashed and I installed the bootloader fresh, and after this
the Interrupt Timer is working fine. The ghost in the machine. Lol
by ats3788
Fri Jun 05, 2020 10:24 am
Forum: Libraries & Hardware
Topic: [Solved] Hardware Timer
Replies: 3
Views: 25703

[Solved] Hardware Timer

Hello Guys
I use PlatformIO and fiddle with the STM32F1 Blue Pill
so far so good, but I have a Problem with the Timer Hardware Interrupts
Thats my code
It compile without any Problems but the timers do not count


void handler3(void) {
count3++;
// Serial.print("T3");
}

void handler4(void ...

Go to advanced search