Skip to main content

Questions tagged [integer]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer

STM32F4 PLC Integer Calculation vs Float Calculation

I am using a PLC that uses a STM32F4 as its processor. The PLC software has Integer and Float calculation commands. When I work with floating point numbers I usually try to use integer calculations ...
user_fs10's user avatar
  • 871
1 vote
1 answer

My itoa (c++)conversion has a problem

I am receiving a string of data via UART in PIC32, extracting and concatenating two of its bytes, dividing the result by 2, converting the resulting integer to a string and transmitting via i2c to ...
Ahmed's user avatar
  • 171
0 votes
1 answer

Subtracter with VHDL

I have this: ...
konstantinos Dms's user avatar
3 votes
1 answer

VHDL - big difference in schematics between integer with and without range

I just discovered something that I would like some expert to comment on. CODE EXAMPLE A: ...
Stephan Møller's user avatar
1 vote
1 answer

VHDL unranged integer input ports bad practice?

I'm designing a customizeable interpolation filter and I'm looking for the best way to pass the coefficients (rather supporting points) to the filter. Below you see the current implementation. ...
Andy Ef's user avatar
  • 113
1 vote
0 answers

PIC assembly: express integer constant as string at build time

One of my engineers came to me with a question that I can't answer. This is for a project using a PIC16F controller, all written in assembler. He is defining a constant that he wants his program to ...
Dwayne Reid's user avatar
  • 23.9k