Search found 7 matches

by sahniana
24 May 2017 22:26
Forum: Development Boards
Topic: GSM Click + Arduino
Replies: 2
Views: 3124

GSM Click + Arduino

Hi all. I'm having difficulties with GSM Click + Arduino (Uno OR Mega). Here's what I found out. 1) Can't use 3.3V supply. I have changed jumper 3.3V to 5V in order for me to use 5V power supply. But I found out that GSM Click is still need to connect to 3.3V power supply in order for it to function...
by sahniana
18 Nov 2014 09:48
Forum: mikroBasic PRO for PIC General
Topic: store char in string, then compare with const
Replies: 5
Views: 2218

Re: store char in string, then compare with const

Hi, String is a simple array of chars, so in every element of the string you can put/replace character which you want. Compiler String library provides you some simple routines for working with strings. Best regards, Marina ok,thanks,i do understand what you mean by array of chars. correct this if ...
by sahniana
07 Nov 2014 19:05
Forum: mikroBasic PRO for PIC General
Topic: How to assign a A/D value to a single Byte variable
Replies: 3
Views: 1819

Re: How to assign a A/D value to a single Byte variable

janni wrote:Myvalue = ADVALUEB >> 2

A/D converter gives a value in 0..1023 range. Shifiting it right two times gives 0..255.
sorry for asking, maybe out from topic. but what does it mean by shifting it two times? can u give me a simple explanation/example?
by sahniana
07 Nov 2014 19:04
Forum: mikroBasic PRO for PIC General
Topic: store char in string, then compare with const
Replies: 5
Views: 2218

Re: store char in string, then compare with const

Hi, You can take a look at compiler String Library, there you can find some useful functions (for example, strncmp() ): mikroBasic PRO for PIC Libraries -> Miscellaneous Libraries -> String Library. Best regards, Marina ok i found strncmp is useful. what about to store char into a string? can you g...
by sahniana
06 Nov 2014 04:58
Forum: mikroBasic PRO for PIC General
Topic: store char in string, then compare with const
Replies: 5
Views: 2218

store char in string, then compare with const

here's an example for my question. dim tmp as char dim store1 as string[20] const compare1="+the age" then i read from uart,put it in tmp. tmp = uart1_read() then save it in store1. store1=store1+tmp then how i want to compare store1 with compare1 and get the result,maybe 0 or 1 (binary), or yes or ...
by sahniana
26 Jul 2014 10:22
Forum: mikroBasic PRO for PIC General
Topic: wiegand
Replies: 3
Views: 3181

Re: wiegand

got problem with this code.

on card (wiegand id): 0009079479 138,35511
data received: fc1=30024, num=117

0003058857 046,44201
received: 21334, 209
by sahniana
03 Jun 2014 11:26
Forum: mikroC PRO for PIC General
Topic: 16x2 LCD and PIC16f887 - BLANK LCD
Replies: 35
Views: 13908

Re: 16x2 LCD and PIC16f887 - BLANK LCD

i've got same problem. my solution:-
1. do not use RB for EN and RS. change to other free pin. i use C4 and D1, it works.
2. do not use RB for lcd. use other port.

Go to advanced search