Norbie
You are correct and I was wrong or should I say the example I looked at missled me.
Search found 178 matches
- 27 May 2006 21:17
- Forum: mikroBasic General
- Topic: Soft_Usart with its own mind
- Replies: 5
- Views: 2904
- 27 May 2006 10:24
- Forum: mikroBasic General
- Topic: Soft_Usart with its own mind
- Replies: 5
- Views: 2904
Norbie ' ****** Sub Procedures start here ******** ' --- Receive RS232 from Echo-Link Sub procedure check_rs Do rs_byte = Soft_Uart_Read(rec_ok) ' see if a byte was received Loop until rec_ok = 0 should be ' ****** Sub Procedures start here ******** ' --- Receive RS232 from Echo-Link Sub procedure c...
- 27 May 2006 09:54
- Forum: mikroBasic General
- Topic: SOFTWARE UART
- Replies: 7
- Views: 4487
Steve I do realise what soft_uart does and I think it is rather presumptuous of you to assume what I understand or do not understand. What was lacking in my understanding was the architecture of the EasyPic. Now I know that only soft_uart can be used because it is a multiple chip board which could h...
- 21 May 2006 22:27
- Forum: mikroBasic General
- Topic: SOFTWARE UART
- Replies: 7
- Views: 4487
- 21 May 2006 22:13
- Forum: mikroBasic General
- Topic: SOFTWARE UART
- Replies: 7
- Views: 4487
If you are using soft_uart then you are not using the MAX232 converter. Yes?
In that case you are sending TTL logic signals to the PC.
What you need to do is invert the signal with
In that case you are sending TTL logic signals to the PC.
What you need to do is invert the signal with
Code: Select all
soft_uart_init(PORTB, 1, 2, 9600, 1)
- 21 May 2006 22:07
- Forum: mikroBasic General
- Topic: Delay function disables porta.0 to porta.2
- Replies: 3
- Views: 2053
The error lies in the method. If you do not change the count you are repetatively cycleing through the program. The first digit is displayed then the next and then the third this sequence repeats in rapid succesion so it looks like all three digits are displayed at the same time. When you introduce ...
- 21 May 2006 10:55
- Forum: mikroBasic General
- Topic: Soft_Usart with its own mind
- Replies: 5
- Views: 2904
I am puzzled by some of your statements. You are using soft_uart and setting jumpers? Setting jumpers sugests to me that you are using Usart. You have not initialised Uart or Usart. If you do not initialise your comms all of your input from your pc will be ignored. I would have thought that the comp...
- 21 May 2006 10:31
- Forum: mikroBasic General
- Topic: help me in digital temperature display using 7-segment
- Replies: 1
- Views: 1367
These are endless loops with no way out do Ow_Reset(PORTA,0) ' OneWire reset signal Ow_Write(PORTA,0,$CC) ' Issue command to DS1820 Ow_Write(PORTA,0,$44) ' Issue command to DS1820 Delay_us(120) i = Ow_Reset(PORTA,0) Ow_Write(PORTA,0,$CC) ' Issue command to DS1820 Ow_Write(PORTA,0,$BE) ' Issue comman...
- 20 May 2006 22:35
- Forum: mikroBasic General
- Topic: Perhaps a silly PWM/servo question
- Replies: 7
- Views: 3601
piort unfortunately you are wrong but you are also right. PWM can not control servos but the timing functions of the PWM instruction can be used to calculate the required pulses to control a servo program PWM_2TIMERS ' tested on 16F877A @ 8MHz ' accurate 50Hz Servo Routine using PWM ' 0 to 180 degre...
- 20 May 2006 22:15
- Forum: mikroBasic General
- Topic: First servo attempt
- Replies: 15
- Views: 8873
Pulseout is a PBP instruction that sends a pulse of a set duration to a pin. The example you quoted starts with a pulse of duration 1mSec long at 4MHz Pulsout 0,pw 'pw starts at 100 this puts the motor to the extreem left. What you want to do in mbasic is to set portb.0 high for 1mSec for extreem le...
- 20 May 2006 12:23
- Forum: mikroBasic General
- Topic: another problem!
- Replies: 4
- Views: 2205
- 20 May 2006 12:11
- Forum: mikroBasic General
- Topic: SMS Application - USART Limitation
- Replies: 7
- Views: 4517
Have you tried splitting the data string into specific strings. For example telephone number date and time then message. The way to do this is to trap the delimeters ",," . Have a loop that discards the data before the fisrt " then store all the data into telephone number until the next " and so on....
- 01 May 2006 10:09
- Forum: mikroBasic General
- Topic: PROCEDURE HELP
- Replies: 2
- Views: 1541
- 31 Mar 2006 10:25
- Forum: mikroBasic General
- Topic: Newbie.. how connect 2 PICS using usart
- Replies: 7
- Views: 2723
Hi Guys All of your suggestions are confusing me. I normaly have two chips talking to each other when I have a serial LCD. The serial LCD has a chip that recieves serial data from the transmitting chip. Two PICs talking to each other in other words. Which is exactly what is required in this case. I ...
- 19 Mar 2006 22:24
- Forum: Development Boards
- Topic: USB to serial convertor
- Replies: 3
- Views: 2571
Hi Charlie I use them all the time without any problems. The most recent one came without the usual installation CD. I pluged it in and my computer searched for the driver on the internet found it and installed it. I was amazed at how simple the installation was. Also to use it in Windows XP is easy...