Thank you. Yes, that works. I made this for a ~linear looking heartbeat:#define BASE 7.5
void setup()
{
Serial.begin(115200);
while (!Serial);
}
void loop()
{
float x = 0.0, inc = 0.01, amp = 255.0 / (BASE - 1);
int y;
while (x >= 0 && x <= 1) {
y = (int)(amp * (pow(BASE, x) - 1) +...