Search found 211 matches
- Sat May 18, 2013 6:23 am
- Forum: Flowcode V2 & V3
- Topic: 12F615 comparator programming
- Replies: 5
- Views: 15459
Re: 12F615 comparator programming
Leave the resistor in and see what the pic does. As for the 50 mv internal, there is no internal. Use a resistor divider from Vdd to gnd and set it to as close to your peak value as possible like 95mv. That is the trip voltage which connects to (input-) GP1. If your photo diode which is connected to...
- Sat May 18, 2013 4:51 am
- Forum: Flowcode V2 & V3
- Topic: 12F615 comparator programming
- Replies: 5
- Views: 15459
Re: 12F615 comparator programming
You might want to try the Comparator module instead of the CCP for the input, that way you can set the "reference voltage" or I would call it the "trip voltage" (input-) to whatever you want externally. Then have your photo diode connect to the comparator(input+). If (input +)voltage rises to within...
- Thu May 16, 2013 10:22 pm
- Forum: Flowcode V4
- Topic: Flowcode 4 and compiler location
- Replies: 13
- Views: 11437
Re: Flowcode 4 and compiler location
Please try these settings in Compiler Options if you have a 64 bit machine. If they don't work maybe you could post your settings after hitting the "Restore Defaults" button in the lower left of that window. Compiler: Location: C:\Program Files (x86)\Matrix Multimedia\Flowcode V4\BoostC\boostc.pic16...
- Wed May 15, 2013 8:39 pm
- Forum: Flowcode V4
- Topic: Flowcode 4 and compiler location
- Replies: 13
- Views: 11437
Re: Flowcode 4 and compiler location
I am not sure but, apparently someone else had this same problem. Have a look at:
http://www.matrixmultimedia.com/mmforum ... ode#p31236
Perhaps you could send john a pm to see if he remembers the solution.
http://www.matrixmultimedia.com/mmforum ... ode#p31236
Perhaps you could send john a pm to see if he remembers the solution.
- Wed May 15, 2013 7:04 pm
- Forum: Flowcode V4
- Topic: Need a fast way to switch to 31khz low power oscillator
- Replies: 4
- Views: 4697
Re: Need a fast way to switch to 31khz low power oscillator
This works great kersing, since there were only a few lines of code in the bootloader I just looked up the binary in the device data sheet and converted to hex with a calculator. It came out to this: 0021 0199 2810 3FFF 3180 2814 Using the PICkit2 I imported my program hex file from Flowcode and the...
- Tue May 14, 2013 1:03 am
- Forum: Flowcode V4
- Topic: Need a fast way to switch to 31khz low power oscillator
- Replies: 4
- Views: 4697
Re: Need a fast way to switch to 31khz low power oscillator
Thank you kersing, i just tried that and looking at the asm file it move's osccon =0x00;(in asm CLRF gbl_osccon) up about five instructions vs just adding a c code icon and typing it in. There are still about 40 instructions before it . Great idea though, and it gives me an idea on situations where ...
- Mon May 13, 2013 11:36 pm
- Forum: Flowcode V4
- Topic: Need a fast way to switch to 31khz low power oscillator
- Replies: 4
- Views: 4697
Need a fast way to switch to 31khz low power oscillator
I am experimenting with some very low current power supplies and i need a way to switch to the low power internal 31khz oscillator as quickly as possible. The default internal oscillator on startup is 500khz which way exceeds the current available. Adding a c code icon in flowcode and setting osccon...
- Thu May 02, 2013 3:18 am
- Forum: E-blocks
- Topic: Contend with 16F690´s Port A
- Replies: 8
- Views: 7759
Re: Contend with 16F690´s Port A
Could you please try that using port C instead. RA3 is an input only, RA4 and RA5 are connected to your crystal.
- Tue Apr 23, 2013 12:56 am
- Forum: General Programming
- Topic: Return from an interrupt
- Replies: 3
- Views: 2948
Re: Return from an interrupt
In flowcode v4.5 it looks like you should be able to specify the location but it won't compile, you get a general error. According to the boostc manual this should work: put this into supplementary code (anything is just a made up macro name and 0x100 is the location). void FCM_ANYTHING()@0x100; May...
- Sun Feb 24, 2013 10:00 am
- Forum: General Programming
- Topic: SPI reading
- Replies: 1
- Views: 2176
Re: SPI reading
Looking at your nice picture it seems that the purple line is lifted up enough to trip the transistors to an on state, which would give you the 255 value. Try a 4.7k ohm pull down resistor on that data line. Just connect one end to that data line and the other to ground. As a rule I try to keep a lo...
- Wed Feb 20, 2013 12:59 am
- Forum: Programming Tips & Tricks
- Topic: LCD displays and K series pic micro problems
- Replies: 0
- Views: 3574
LCD displays and K series pic micro problems
If your having problems with LCD displays not working with this series chip at higher clock frequencies (20mhz or more), try changing reduced transition port slew rate to standard. Reduced transition is automatically enabled upon reset. Add a "C Code" icon at the beginning of your program and type i...