Search found 118 matches

by MarkW
Tue Jul 03, 2012 5:40 pm
Forum: Flowcode V4
Topic: Example FC file for wireless module?
Replies: 4
Views: 4050

Re: Example FC file for wireless module?

Hi John Could you please tell me what version FC you used for the test program files you had in the link you provided? Before i open files (I am on FC V4.5), i like to know what version they are, as i noticed sometime ago i tried to open a FC V3 file with FC4 and it got a little tense with that :D T...
by MarkW
Mon Jul 02, 2012 1:49 pm
Forum: Flowcode V4
Topic: Example FC file for wireless module?
Replies: 4
Views: 4050

Re: Example FC file for wireless module?

Hi John

Thanx for the link and info! I intend to use the modules without the EB block, just as well
i saw the section about crosswiring the signals :shock:

Mark
by MarkW
Mon Jul 02, 2012 12:30 pm
Forum: Flowcode V4
Topic: Example FC file for wireless module?
Replies: 4
Views: 4050

Example FC file for wireless module?

Hi All,

Is there any working example FC V4 pic files for the EB063 wireless module, or anyone that has done
a working FC file for this module?

I would like to see actually how things are managed in the code using this module.

Thanx

Mark
by MarkW
Sun Jan 22, 2012 11:11 am
Forum: Flowcode V4
Topic: How to setup data array in program flash
Replies: 5
Views: 3764

Re: How to setup data array in program flash

Thanx Martin! I did bit of looking up in the datasheet and BoostC manual and yes i think you are correct. I think there are a few methods one can achieve this taking a closer look now at the question..... Does FC4 have any macros etc to do table read/writes? you need these commands to access and con...
by MarkW
Sat Jan 21, 2012 8:25 pm
Forum: Flowcode V4
Topic: How to setup data array in program flash
Replies: 5
Views: 3764

Re: How to setup data array in program flash

Hi Martin Thanx for the link, interesting problem...but not what i am after. That link was about writing/reading from the main program running in the chip. My question was how to setup a compiler directive or whatever in the program code such that at program time(Hex file into chip), the data block ...
by MarkW
Sat Jan 21, 2012 10:28 am
Forum: Flowcode V4
Topic: How to setup data array in program flash
Replies: 5
Views: 3764

How to setup data array in program flash

Hi All, I am looking at using a 18F25K22 for a project, where i need to setup a block of reference data in a section of the program flash memory. This data is not to be written to flash on every power up, but is put there at program time (when the chip is programmed). How do i setup this array in th...
by MarkW
Wed Oct 26, 2011 1:14 pm
Forum: Flowcode V4
Topic: 12F629 low power and weak pullups
Replies: 3
Views: 3120

Re: 12F629 low power and weak pullups

Hi Ben

thanx for the feedback. All working as planned now...good idea about the sleep mode!
Forgot about that trick :)

Thanx

Mark
by MarkW
Tue Oct 25, 2011 8:47 am
Forum: Flowcode V4
Topic: 12F629 low power and weak pullups
Replies: 3
Views: 3120

12F629 low power and weak pullups

Hi Ben etc.... Working on a small project using the 12F629 in low power application and have few questions, project requires input/int and 0.5s pulse output....running on 3.2V battery. 1. What is considered the best low power mode? I am currently 32khz @ 3.2V. Datasheet sez at 2V (close to 3.2V) usi...
by MarkW
Mon Oct 03, 2011 11:02 am
Forum: Flowcode V4
Topic: PWM on 12F675 using TMR0
Replies: 9
Views: 6638

Re: PWM on 12F675 using TMR0

Hi Martin Thanx for all your input etc. You are correct in all you said about this bitbang method (tmr0) for pwm.....and you are correct that using a chip with pwm is much better. I did not have the 12F chip you recommended at the time, but i did dig out a spare 16F818 that has ADC/ PWM etc. using t...
by MarkW
Fri Sep 30, 2011 9:16 am
Forum: Flowcode V4
Topic: PWM on 12F675 using TMR0
Replies: 9
Views: 6638

Re: PWM on 12F675 using TMR0

Hi Martin, Thanx for reply. Your chart is pretty neat, but i figured a method that must allow the duty cycle to adjust without crashing...if one reads the ADC value it must be scaled to a range that such that the interrupt routine can finish looping before the next tmr0 interrupt. But there are stil...
by MarkW
Thu Sep 29, 2011 10:15 pm
Forum: Flowcode V4
Topic: PWM on 12F675 using TMR0
Replies: 9
Views: 6638

Re: PWM on 12F675 using TMR0

Hi Ben Thanx for getting back, i have attached a simple form of the FC file that illustrates my exercise. Looking on the scope at the output pin, as i adjust the pot (1K centre tap to ADC input, ends to 5V / GND), i see the period shifting all over the place. I see at certain point of rotation range...
by MarkW
Thu Sep 29, 2011 3:02 pm
Forum: Flowcode V4
Topic: PWM on 12F675 using TMR0
Replies: 9
Views: 6638

PWM on 12F675 using TMR0

Hi Guys Been trying to pwm a dc brushed motor using a 12F675, pwm freq to be in khz range. Processor is running internal osc = 4mhz. Read pot on ADC to adjust pwm duty cycle. Since 12F675 has no pwm module i opted for using tmr0 as freq generator....but i have tried all sorts of interrupt algorithms...
by MarkW
Mon May 17, 2010 7:01 am
Forum: Components (Other)
Topic: LCD and ADC problem
Replies: 4
Views: 8864

Re: LCD and ADC problem

Thanx Sean

Will take a look at that and fix it. Thanx again for your help!

Regards

Mark
by MarkW
Thu May 13, 2010 6:41 pm
Forum: Components (Other)
Topic: LCD and ADC problem
Replies: 4
Views: 8864

Re: LCD and ADC problem

Hi Sean

Ok great! Thanx very much. Any ideas about the LCD problem as mentioned
previously?
And also the question about trying V4 with V3 already installed?

Thanx

Mark
by MarkW
Wed May 12, 2010 12:29 pm
Forum: Components (Other)
Topic: LCD and ADC problem
Replies: 4
Views: 8864

LCD and ADC problem

Hi Got a 16F886 running a 20x4 char display with ADC port 11 and 13. Currently running Flowcode V3.4.7.48 Issue is that in this version the LCD works fine, no problem. However when i try to use ADC port13 i get compile error. Does not get so far as to even generate any code. All other ADC assigned p...
by MarkW
Fri Jan 29, 2010 8:56 pm
Forum: Flowcode V2 & V3
Topic: Upgrading to V4.2
Replies: 1
Views: 2260

Upgrading to V4.2

Hi Ben/Steve

Been using V3 (full version - single user) for sometime now and
want to goto V4.2

Question: Is there a discount offered for existing V3 users
and how does one go about getting the discount? I have scoured
the MM website but it only offers V4 at the full price....

Regards

Mark
by MarkW
Fri Sep 18, 2009 9:45 am
Forum: Flowcode V2 & V3
Topic: Floating point Info V3
Replies: 3
Views: 3130

Re: Floating point Info V3

Thanx Ben Yes, did look at the header file before and as you say its not very well documented. But i will try to extract the info i need for the functions. So, according to your statement about the round to zero function I assume I am correct that if my var is always positive (always round down), th...
by MarkW
Thu Sep 17, 2009 8:17 pm
Forum: Flowcode V2 & V3
Topic: Floating point Info V3
Replies: 3
Views: 3130

Floating point Info V3

Hi I have followed the example on using floating point maths with V3 and with a bit of fiddling on my own got my program to run ok. However I cannot seem to find any reference to the functions that describes the operation thereof, or a list of the functions available! I have looked at boostC manual ...