Search:

Type: Posts; User: ALB10811Banner

Search: Search took 0.00 seconds.

  1. Thanks, I got it working

    Thanks, I got it working
  2. How to read the binary value of an analogue input pin

    Hi I'm trying to write a small piece of code that that reads the input from an analogue pin every second. I just don't know what the code is to get the binary input string. Any help would be great,...
  3. Why is this code causing the Arduino Mega 2560 to crash???

    static int DepositFunds(void){
    int i;
    double depositAmount;
    float currentBalance;
    char accountBalance[10];
    char amount[10];


    i = GetAccount();
  4. Replies
    1
    Views
    5,514

    Disregard, I fixed it.

    Disregard, I fixed it.
  5. Thank you, that helped a lot.

    Thank you, that helped a lot.
  6. Replies
    1
    Views
    5,514

    Trouble converting float to string

    printf("Enter The Amount You Would Like to Deposit: \n");
    scanf("%f\n", &depositAmount);
    printf("You Entered: $ %.2f\n", depositAmount);

    Output is $?, I'm not sure what's wrong here.
  7. How to return a char * value from a function?

    Hi I'm having trouble returning an 8 char string from a function. I can get the correct value displayed from printf("%c%c%c%c%c%c%c%c \n", bit0 ,bit1 ,bit2 , bit3, bit4, bit5, bit6, bit7); but...
Results 1 to 7 of 7