J'ai un erreur bizarre empêche la compilation dans le fichier main dont je veux configurer la port B en sortie j'ai déclaré les bibliothèques
#include <p18f4550.h>
#include <stdio.h>
et j'ai met
set_tris_b(0);
et en plus j'ai essayé
set_tris_b(0x00);
mais l'erreur suivant sorte :
MPLINK 4.14, Linker
Copyright (c) 2007 Microchip Technology Inc.
Error - could not find definition of symbol 'set_tris_b' in file 'C:\Users\Administrateur\Desktop\PIC-USB-fonctionnel\main.o'.
Errors : 1
Link step failed.
BUILD FAILED: Fri Apr 15 14:15:14 2011
j'ai aucune idée comment le corriger !!!!!!!!!!!!!!!!!!!!!!!!!!!!
the code is not that small because am traying to write a code for connection between USB and my PIC18f4550,so T took the original code from microchip and reconfigurate with my needs it works but when i put TRISB to send data for PORTB one erreur appear and i searched all the code and i didin't find any thing for portb configuration except what i put in main ""TRISB"and still dont work