Quantcast
Channel: User jose can u c - Arduino Stack Exchange
Browsing all 39 articles
Browse latest View live

Comment by jose can u c on How to add numbers to a position when controlling...

You stated what you want it to do, but what does it actually do instead?

View Article



Comment by jose can u c on How to add numbers to a position when controlling...

Well, you also need to write the correct value to the display: display.showNumberDec(newPos, true); tries to write newPos, but newPos is the encoder position. pos is the calculated display value. I...

View Article

Comment by jose can u c on `LOW` being defined as `0` and `HIGH` being...

Couldn't it be both?

View Article

Comment by jose can u c on Read the value of a register in arduino

As noted, do check the datasheet -- some register flags are cleared (zeroed) by writing a 1 to them.

View Article

Comment by jose can u c on What type of power supply is the Arduino Due’s 5v...

Don’t power a servo through the 5V pin. However you power the servo, just avoid making the Arduino the power supply.

View Article


Comment by jose can u c on Running Python on Arduino

The GitHub repo, ports directory, indicates no support for ATMega processors, which is what is in an Arduino Mega.

View Article

Comment by jose can u c on Accelstepper - how to switch from fullstep to...

Sorry I wasn't more clear. Also use the currentPosition() function. You will have to decide whether you want "fast" steps or "slow" steps to be the actual count, and when you switch from one context to...

View Article

Comment by jose can u c on BMP 280 exact Altimeter readings

@DavidGlass Again, the Adafruit library example source code has a following line that indicates the unit is Meters.

View Article


Comment by jose can u c on Arduino controlled LCD 16x2 is very very dim

It even looks like the “K” pin does not have a wire on it at all. Just a blob of solder filling the pad.

View Article


Comment by jose can u c on Why the SoftwareSerial is not working properly on...

What pins are you using for tx and rx?

View Article

Comment by jose can u c on Arduino IDE gives error a1 is not declared

Is that your whole code?

View Article

Comment by jose can u c on Dice is not showing the correct numbers

What "larger numbers" are you getting?

View Article

Comment by jose can u c on Dice is not showing the correct numbers

You noted that you got it working. If you share the results, it may help others in the future who are having a possibly similar question.

View Article


Comment by jose can u c on How to use ATtiny pins that are usually 'reserved'...

Both seem to be related...

View Article

Answer by jose can u c for Serial.print prints but lcd.print does not

In the findName() function, you declare a char array of name text. Internally, text is a pointer to a block of memory 12 bytes in size.When you return text within the findName() function, you are...

View Article


Answer by jose can u c for Combining code for multiple sensors in a single...

In general:All #defines and #includes get put from all separate sketches, at the top.Globals and function definitions (except for setup() and loop()) get mixed together below the #defines and...

View Article

Answer by jose can u c for Find vehicle movement by IMU and GPS

You noted that your goal is to determine whether or not a vehicle is in motion. Because you are trying an IMU, I assume the device that needs to know this is on-board the vehicle.There are many...

View Article


Answer by jose can u c for Trying to understand Classes

class Motor {This says to start defining a class. A class is like a "container" that holds both data and functions (methods). After defining the class, it becomes like a new variable type that you can...

View Article

Answer by jose can u c for expected unqualified-id before '.' token

You declare an object of type DHT and name dht. Then you try to call a method of DHT.read11().Instead, you should be using the object name, dht.read11(), or as @Gerben points out, change the way you...

View Article

Answer by jose can u c for Is every Arduino comes with onboard compass?

No current Arduino board comes with an on-board compass. That function description comes from the documentation for the Arduino Robot, which is a retired product.There may be other "maker" dev boards,...

View Article
Browsing all 39 articles
Browse latest View live


Latest Images