invalid suffix "F7403" on integer constant IR Library


i want turn xbox on/off arduino si thought why not ir? have old xbox 360 remote, not controller, has on/off button on it. so, used ir library dump code , see was. rc6 code, 800f7403, made program send xbox. when compiled program error "invalid suffix "f7403" on integer constant ir library". mean? tried dumping raw values , sending them over, did not gave problems xbox did not responded..

i thankful help.
code: [select]
/*
* irremote: irsenddemo - demonstrates sending ir codes irsend
* ir led must connected arduino pwm pin 3.
* version 0.1 july, 2009
* copyright 2009 ken shirriff
* http://arcfn.com
*/

#include <irremote.h>

irsend irsend;

unsigned int poweron[64] = {5220,2700,850,500,350,500,400,500,800,500,800,1400,800,500,400,500,350,500,400,500,350,500,400,500,350,500,400,500,350,500,400,500,350,950,400,500,350,500,400,500,800,950,350,500,400,500,800,950,800,500,400,500,350,500,400,950,800,950,800,500,350,500,400,500};

void setup()
{
  serial.begin(9600);
}

void loop() {
  if (serial.read() != -1) {
    (int = 0; < 2; i++) {
      irsend.sendrc6(800f7403,3);
    }
  }
}

it means you've got invalid suffix somewhere in code didn't post.
don't forget code tags

code: [select]
800f7403,3
that one. needs 0x on front, , ul suffix wouldn't hurt


Arduino Forum > Using Arduino > Programming Questions > invalid suffix "F7403" on integer constant IR Library


arduino

Comments

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support