Search found 169 matches

by bitfogav
Sun Sep 30, 2012 11:18 am
Forum: Compiler
Topic: Issue with system file for the 18F4550 - Using ADC
Replies: 5
Views: 3305

Thanks for clearing this up Jerry, I always enjoy debuggin code.

I hope this helps someone else :)
by bitfogav
Sun Sep 30, 2012 8:37 am
Forum: Compiler
Topic: Issue with system file for the 18F4550 - Using ADC
Replies: 5
Views: 3305

This is the Old system file for the 18F4550: { **************************************************************** * Name : 18F4550 * * Author : David John Barker * * Notice : Copyright (c) 2006 Mecanique * * : All Rights Reserved * * Date : 17/11/2006 * ************************************************...
by bitfogav
Sun Sep 30, 2012 7:52 am
Forum: Compiler
Topic: Issue with system file for the 18F4550 - Using ADC
Replies: 5
Views: 3305

Yes im sure it is 2.2.1.4, I see that the last update by David on the website is 2.2.1.3. As this forum doesn't support uploading images here is an image taken from my SF help -> about tab. shows version 2.2.1.4 http://www.freeimagehosting.net/cngun This version was the Electronic download version f...
by bitfogav
Sat Sep 29, 2012 10:47 am
Forum: Compiler
Topic: Issue with system file for the 18F4550 - Using ADC
Replies: 5
Views: 3305

Issue with system file for the 18F4550 - Using ADC

The code below used to work fine but with the latest version 2.2.1.4 of the Compiler it doesn't. All the code is doing is reading the AN0 pin and setting the delay for flashing a led. Device = 18F4550 Clock = 20 Include "ADC.bas" Dim STATUS_LED As PORTD.3 Function Get_ADC_Sample() As Word result = A...
by bitfogav
Wed Jun 06, 2012 9:15 am
Forum: Compiler
Topic: How Can I insert pic ID on code
Replies: 5
Views: 4341

FYI, Yes you can do it in MPLAB Configure>ID Memory but that will only give you access to the lower nibble of the user ID, The high nibble can be only be written to via program code.

Thanks to Jerry he has put together a small userID Module which you can download in the USB Library.
SFUSBv142
by bitfogav
Mon Feb 20, 2012 12:32 am
Forum: User Modules
Topic: SD Card Library files can only be opened by creating program
Replies: 7
Views: 4030

Cool :) I always enjoy tinkering with certain applications and then using them in future designs.
by bitfogav
Sun Feb 19, 2012 1:11 am
Forum: User Modules
Topic: SD Card Library files can only be opened by creating program
Replies: 7
Views: 4030

I see what you are trying to do now?, why dont you just have a switch or jumper connected to one of the pins on the MCU, and then make up some routines in code?. for example if you select a pin on the MCU and connect it to a switch, if you press the switch and hold it when you apply power to the MCU...
by bitfogav
Sat Feb 18, 2012 10:32 am
Forum: User Modules
Topic: SD Card Library files can only be opened by creating program
Replies: 7
Views: 4030

I think you need to call the SD.Init() atleast once to reinitialise the SD Card, before you call the SD.OpenFile().
by bitfogav
Sat Feb 04, 2012 11:12 am
Forum: User Modules
Topic: MCP795W
Replies: 2
Views: 2397

Ive just looked at the datasheet, It dont look to hard to interface with if you use the MCU SPI peripheral, you may have to make some SPI routines in code to Read and Write to the MCP795W.
by bitfogav
Fri Feb 03, 2012 6:59 pm
Forum: IDE
Topic: Library Explorer plugin still work?
Replies: 26
Views: 19849

Thanks for the fix, its all working fine now :)
by bitfogav
Sun Jan 29, 2012 11:05 am
Forum: User Modules
Topic: USB Demo from Nathan Herbert
Replies: 4
Views: 3516

I dont think you can change the keyboard type - the module is setup for a Qwerty keyboard. The only thing you could try is to make a copy of the KeyboardDefs.BAS and paste it into your User Library Folder and from there you can change/edit that file to suit your keyboard layout?. Any files located i...
by bitfogav
Sat Jan 28, 2012 4:51 pm
Forum: IDE
Topic: Library Explorer plugin still work?
Replies: 26
Views: 19849

johngb wrote:I assume removing file has resolved the problem and it is now working properly. Have you tried the show in explorer mode?
Yes removing the File has resolved the problem and is now working properly, the try in Explorer mode is a very nice addition!. :D

PM sent:
by bitfogav
Sat Jan 28, 2012 4:19 pm
Forum: IDE
Topic: Library Explorer plugin still work?
Replies: 26
Views: 19849

Looks like I found the file causing the problem, I had a copy of the SDFileSystem.bas in my User Library but it is a copy of the Original that comes with the compiler..

Would the size of the file have anything to do with the error??
the SDFileSystem.bas file is 203kb?.
by bitfogav
Sat Jan 28, 2012 4:01 pm
Forum: IDE
Topic: Library Explorer plugin still work?
Replies: 26
Views: 19849

Thank you for the update on the wiki, but I seem to get an error when I run the new Library Explorer. I uninstalled the old version through SF and installed the updated version, when I run it I get an error box come up with the message "List index out of bounds (2806)" and then nothing is displayed ...
by bitfogav
Sat Jan 28, 2012 11:13 am
Forum: User Modules
Topic: USB Demo from Nathan Herbert
Replies: 4
Views: 3516

1 : == Can someone explaine Device = 18F4550 Clock = 48 // 20Mhz crystal, 48Mhz internal (FS USB) I'am using a 20 Mhz cristal with clock set at 48 ??? This is necessary for full speed USB use ?? If you look at the datasheet for the 18F4550 USB peripheral then it will tell you that the clock source ...