Search found 217 matches
- 01 Aug 2009 10:10
- Forum: mikroBasic PRO for PIC General
- Topic: 52 303 Identifier "Ow_Reset" was not declared test
- Replies: 5
- Views: 3337
Thanks Max. Your version compiles and flashes OK. It is curious that the manual says goto's and gosubs are still permitted for backwards compatibility. Apparently they don't work in V2.5 Frankly programming without GOTO's is in my opinion contorted. Imagine assembly language without a jump to comman...
- 31 Jul 2009 16:43
- Forum: mikroBasic PRO for PIC General
- Topic: 52 303 Identifier "Ow_Reset" was not declared test
- Replies: 5
- Views: 3337
Thanks reply. Went to library management and "clicked" on onewire library. (How one knows it did anything is beyond me. No message that the library was included or anything) Compiler got further but failed in linking. Also an odd error related to a gosub line. 0 133 Compiled Successfully C:\dloads\t...
- 31 Jul 2009 14:47
- Forum: mikroBasic PRO for PIC General
- Topic: 52 303 Identifier "Ow_Reset" was not declared test
- Replies: 5
- Views: 3337
52 303 Identifier "Ow_Reset" was not declared test
Just installed V2.5. Brought over a program run under Microbasic. 16F676 PIC The above error comment received. Code fragment: ow_Reset(PORTA,5) ' onewire reset signal ow_write(PORTA,5,$CC) ' issue command to DS1820 ow_write(PORTA,5,$44) ' issue command to DS1820 delay_us(120) i = ow_reset(PORTA,5) o...
- 02 Sep 2008 22:22
- Forum: mikroBasic General
- Topic: old hardware/bootloader
- Replies: 8
- Views: 2871
- 02 Sep 2008 20:27
- Forum: mikroBasic General
- Topic: old hardware/bootloader
- Replies: 8
- Views: 2871
Well, the link on ME page to version 7 of MB is really 7.0.0.2 not 7.2. It compiles and flashes some of my existing programs OK. I tried compiling the bootloader for the 16f877A. It is identical to the above listing. This time a "Identifier 'Susart_Init' not defined" error was generated. It also tri...
- 02 Sep 2008 14:37
- Forum: mikroBasic General
- Topic: old hardware/bootloader
- Replies: 8
- Views: 2871
- 02 Sep 2008 00:01
- Forum: mikroBasic General
- Topic: old hardware/bootloader
- Replies: 8
- Views: 2871
- 01 Sep 2008 20:27
- Forum: mikroBasic General
- Topic: old hardware/bootloader
- Replies: 8
- Views: 2871
old hardware/bootloader
Time marches on. Recollections get foggy. Some time ago I put an application on a 16F877A. It had a bootloader. I believe I was using MB 2.X at the time. The programmer is an EASYPIC3. Machine is XP-based. Since then I've upgraded to V6.0.0.0, have the application hex file generated. It successfully...
- 18 May 2008 15:17
- Forum: mikroBasic General
- Topic: W-0 Array has been split over two banks:
- Replies: 11
- Views: 5071
- 27 Feb 2008 16:55
- Forum: mikroBasic General
- Topic: Problem with a 10W Switch
- Replies: 12
- Views: 3827
I've had problems with rotary switches -- specifically debounce issues. (Normal pushbuttons and toggle switch debounce in software works just fine.) Not so with rotary switches for some reason. Problems were so bad that I had to add hardware debounce circuitry. Of course, this only happened when one...
- 22 Jan 2008 19:54
- Forum: mikroBasic General
- Topic: Arithmetic
- Replies: 4
- Views: 1958
- 13 Jan 2008 03:15
- Forum: mikroBasic General
- Topic: Voltage level
- Replies: 7
- Views: 3503
- 11 Jan 2008 17:38
- Forum: mikroBasic General
- Topic: Voltage level
- Replies: 7
- Views: 3503
Try your SD card in some other device. I fear you have destroyed it. You can try a level shifting device called resistive divider to drive it. Perhaps 1.2k and 2.2k resistor in series. The output of the PIC goes to the top of the 1.2k, take the output to the SD card from the junction of the two resi...
- 06 Jan 2008 00:24
- Forum: mikroBasic General
- Topic: Analog input on PORTA.4/5 problem!
- Replies: 9
- Views: 4087
- 05 Jan 2008 14:04
- Forum: mikroBasic General
- Topic: Analog input on PORTA.4/5 problem!
- Replies: 9
- Views: 4087
It would be more instructive to neophytes if you gave the various OPTION_REG, ADCON, TRISX et all settings in binary. It would be easier to look up what they mean on the spec sheets. For example ADCON1= $82 is ADCON1=%1001000 In fact, it makes more sense to code them in the binary representation so ...