I trying to build something and want to read a value from a inbuilt (as in, I can't change it) sensor that have a resistance from 0-500ohm. I am going to use PIC16F887 (with internal oscillator) and...
Type: Posts; User: Glenn; Keyword(s):
I trying to build something and want to read a value from a inbuilt (as in, I can't change it) sensor that have a resistance from 0-500ohm. I am going to use PIC16F887 (with internal oscillator) and...
Sorry for the late reply, but it works much better now :)
But I still cant get it to convert a MIDI file, but since I'm not very good at MIDI files and you make some notes about what's supportet I...
I'm starting to suspect that this PIC is broken.. but its a bit strange that it's possible to program and verify it anyway.
I'll see if I can buy another one tomorrow, but I dont think my local...
Yes, I guess so too, no need for changing the version of the includes if nothing in them have been changed.
and I comented out everything in the correct include, now it looks like:
...
I probably shouldnt try to do anything serious at the middle of the night :)
The pic is a 18F2520, and I have no idea why I choosed to post the include for 2550 :) ..probably too tired :)
PBP...
Changed from the old include to the new one, and to my surprise the code compiled without errors ?
..However, it still doesnt work :( no flashy LED's :(
Hmm, strange. I thought the "version 2.46" was a bit suspect, so I looked one time more, and found a "18f2520.inc.org", which probably is the correct file, and the other is something I cut'n'pasted...
I'm using 2.50b, and my include looks like:
;****************************************************************
;* 18F2550.INC *
;* ...
Unfortunatly CA3089 seem to be discontinued, and hard to get, well, tehre are a few on ebay, but more common places seem to be out of stock ?
I would love to see the schematics you used anyway...
Very cool, except that I can't get it to work, if I press any key (on the little piano-keayboard) that has a decimal point I get the error message "xxx.xxx is not a valid floating point value"
...
bruce:
I get this..
Warning[230] C:\PBP\LTIMERT3.ASM 64 : __CONFIG has been deprecated for PIC18 devices. Use directive CONFIG.
Error[113] C:\PBP\LTIMERT3.ASM 64 : Symbol not previously...
Well, at maximum I presume ? actually I don't really understand what they mean exactly in that part of the datasheet, I would belive that I set one speed on the oscillator, and then the PLL...
Well, if the ' is before the @ it should work ? or ?
This gives me..
Error[113] C:\PBP\LTIMERT.ASM 63 : Symbol not previously defined (_OSC_INTIO67
_1H)
..And the usual "deprecated"...
Oops, yes, its connected to Vcc with a 10k resistor :)
scalerobotics: Yes, I have looked at that, but still, for example that include mentions:
_BOREN_OFF_2L
..But if I include that in my PBP program I get a "symbol previosly not defined" error...
..I can add that this is one of MANY MANY different config settings I have tried..
Well, I'm back again...
Last time I got so tired of it so I quitted that project and started with other stuff instead, PIC16F based, coz there I never get any of those troubles.
*Every* single...
You dont need to set the pins to outputs when using "high" and "low".
It's probably the analog part that is the problem just as darrel writes.
What kind of licence did u put on your code Darrel ?
I currently making a little project for a contest in a swedish electronics forum, and I really would like to use a LCD bargraph, and the rules...
Yes, that fixed the problem.
STRANGE.. I never had to change this value before ? I can't understand why the same
test program works on the same display, with the same pins, at the same frequency...
Today I started to build a project with a variant of PIC I never used before, 16F876A, but since its the little brother of my old fauvorite pic 16F877A I didnt think it would be any problems..
...
Damn I *HATE* 12F with their different names on everything..
Have been trying to convert this code into some useful PIC, like 16F887 but with no success.. I realize that I fumbeling around in the...
Aha, so I cannot really override settings with statements in my sourcecode, as I can with pm ?
..Since this is a 18F device PM isnt supported anyway, so I guess I can change as I like in the file....
Hmm, looking in the tst.asm I can see that all errors points to my config lines :(
Its REALLY REALLY stupid that the config lines are in different formats between mp and mpasm :(
Theese are the...
I been using 16Fx for some time now, and now I wanted to use something more powerful, I looked up a nice PIC, 18F4620, and checked that it was PBP compatible, yes, and ordered.
First I tried to...