everything work fine for now... just that the Switch function seems not to be working..
so what should i do now? :(
Type: Posts; User: vailant
everything work fine for now... just that the Switch function seems not to be working..
so what should i do now? :(
yes.. i had connected 2 switches to the uOLED according to the schemetic i show on the 1st post. and i had also test the switches. it gives different value when i press the switch. which should be...
Thank you so so so much Adak....
hope to have good news from u soon! =)
hi..
hmmm.. i hope this would help....
http://www.4dsystems.com.au/downloads/Semiconductors/GOLDELOX-SGC/Docs/GOLDELOX-SGC-COMMANDS-SIS-rev2.pdf
hi Adak!
hmmm.. sorry.. but what does it mean by "software interface specifications or directions" any example???
i've attached the Display Control Function piant.. hope it'll provide more info.....
hi all.. im currently working on uOLED-96-G1 with C8051F226 using silab in C language..
i would like to know how could i adjust contrast using external switch..
Currently im able to use the...
never mind guys.. i did it with a simple code..
d3 = opvalue_d1 * 30 / 255;
d1 = d3 / 10 + '0';
d2 = d3 % 10 + '0';
could anyone help me using some coding to my question?
thank you.
hi quzah..
sorry.. im quite new to C... wat is a sprintf?
my display wont work with printf, %d, %f % etc.. so i think sprintf wont work too...
so now what i need is to get two seperate integer...
Hi Adak.
my display wont be able to do the printf function...
so i need to print a character by a character.
e.g. (3.0>>> '3' & '.' & '0')
im able to get the dot('.') now by printing dec...
ok.. im done with the hex...
now i need to convert the ADC dec value back to analog value.
eg.. if i input 3v>> ADC value = 255, analog value = 3.0
if i input 1.5v>> ADC value = ~127,...
Yes.. agreed.. changed.. Thanks!!
Now i have need another help again..
I need to display the same ADC dec value in Hex.. using ascii...
e.g. dec value = '123' i need to display '7''B'. so i...
Never mind.. i got it using another simple method.. thanks for ur help!!! =)
void hundred() /*convert 1st value Axx*/
{
opvalue_h = opvalue_h/100;
t = opvalue_h+48;
}
void...
hi...
i've tried the code.. but its not working right..
currently my ADC value (op) work fine.. it changes as i adjust the signal.
but my char1, char2, char3 all equal to 32 ('blank')..
The...
oic..... thank you so much........... enjoy ur weekends!! =)
see ya again!
ok... i'll try it out thee few days...
but there's a line i dun quite understand..
int num[] = {3,14,159,26,53,155,218,91,79,66};
can u explain to me this line??
thx alot....
thanks for the reply..
but my display will not be able do printf... it print value only by ascii value.
Currently what im able to do to the display is to:
1.) display 1 character. the ADC...
yes... ok...
hope to hear from u again soon!
thanks a lot!!!
it should be able to... but im not sure how to create arrary string in C...
pls guide me.. thanks a lot...
Thanks for the reply..
but... my display wont work with printf function....
im using a different display.. that is why im giving infos of my display previously.
help pls.... =(
hi Adak.. i think u should not say "Valiant, we're being a bit sarcastic with you".its should be "Valiant, I'm being a bit sarcastic with you"...u have mis understand it.. the value i got is in int...
thanks for the reply again RockyMarrone..
but im actuallying using c8051F226 in silicon lab in C language.. and my display is on a external unit uOLED-96-G1... which they actually display text by...
hi and thx for reply.. but im unsure of atoi.. could u put it in codes?
i think u guys don't quite understand me.
hmmm.. so wat u guys mean is to ask me to Multiply the ADCvalue by 49??!!
but that will not work.
let me give u another example... Lets say the ADC value...
Hi all,
Im now doing a project using Silicon Lab C8051F226 in C language.. and the display is a external uOLED-96-G1..
I have did some coding and now its able to do the ADC.
lets say now i got the...