Please do it, would make the whole thing even better.RollingGecko said:I will try to prepare a list of components and a schematic.
const float ratioRpmSpeed = ((DIA_WHEEL * 3.14156) / RATIO_GEAR) * 60 / 1000000; //RPM to Km/h
const float rationRotDist = ((DIA_WHEEL * 3.14156) / RATIO_GEAR) / 1000000; //RPM to travelled km
calculatedValues.speed = VescMeasuredValues.rpm * ratioRpmSpeed;
calculatedValues.distanceTravel = VescMeasuredValues.tachometer * rationRotDist;
thx for you fast reply, still confused cause there are 4 leds and only 1 led pin? or i just can't see somethingRollingGecko said:@Nordle: I used the WS2812 LED's. Attached at 5V and the bus wire to the defined pin in the config.h.