New answers tagged

0

Troubleshooting I2C issues can be frustrating. In order to figure out the problem, I recommend you construct the simplest possible Arduino sketch, using just the two sensors that seem to have a problem working together. You should be able to write a very simple program that does nothing but acquire a simple value from each sensor, say 2 times/second. Once ...


0

Use trigonometry (sin() and cos()) functions to get the right x and y coordinates. I would consider replacing your drawLine() command with something like this (untested) assuming the tiltAngle is in degrees from -90 to +90 (with 0 degrees is straight up) and you want to draw a line at this angle from the origin (63, 63) with a radius of 64. float ...


Top 50 recent answers are included