I am very new on programming and as a project we are trying to create a product that can calculate the CO2 level and work with the help of human powered. But for now on, we do not have an sensor and we are using slider to change the levels manually. We tried to write a kind of code but we totally lost.
What we try to do is;
at low levels = vibration and fading effect of leds will be calm
at mid = a bit excited
at high = fading will and vibration will be fast that shows anger…
I am attaching the code here, the thing we can is just dimming leds and vibration without constantly.
Could anybody give me an idea, how can I manage it ?
fadinglights3.pde (1.39 KB)