¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: MPLAB IDE Help/C# Programming


"ghpicard"
 

This is my function:
bit bitMe(unsigned char weight, unsigned char number)

I call to it in my program:
IC1B = bitMe(2, outNum[6]);

I'm getting the nonspecific error:
Error [195] C:\Users\Mike\Documents\Progamming\nixieClock.c; 55.1 expression syntax

Note: IC1B and outNum[6] are defined globally
1 - does bitMe accept 2 arguments as input ?
2 - Are the arguments the same type as the input you are giving above?
3 - isn't it IC1B := bitMe(2, outNum[6]); instead of what you wrote (:= instead of =)

Gaston

Join [email protected] to automatically receive all group messages.