Bonsoir,
J'ai un projet à réaliser avec la carte Xbee S8 et j'ai besoin d'aide à propos.
j'utilise l'API de Xbee (en java) pour communiquer avec la carte, le problème que j'ai rencontré c'est au niveau d'envoie d'une commande AT.
je veux tester PWM alors j envoie : xbee.sendAtCommand(new AtCommand("P0",2) et ça marche bien,mais lorsque je veux modifier le Duty Cycle de pwm et j le met en max par exemple: xbee.sendAtCommand(new AtCommand("M0",0x3FF)) je reçois le problème suivant : input value [1023] is larger than a byte
Merci d'avance
Partager