Search Results - Proton BASIC community web site

# Search:

Type: Posts; User: John Drew

Page 1 of 5 1

1. ## Thread: Decimal part from a Float

by John Drew
Replies
19
Views
306

### Re: Decimal part from a Float

Teo, would you show us how each of your variables are defined?
2. ## Thread: Decimal part from a Float

by John Drew
Replies
19
Views
306

### Re: Decimal part from a Float

Teo, it doesn't matter how many numbers after the decimal point. Just multiply and divide by the maximum you'll need.
E.g if the maximum is 3 then use 1000, if 4 then use 10000.
You'll just have to...
3. ## Thread: Decimal part from a Float

by John Drew
Replies
19
Views
306

### Re: Decimal part from a Float

Teo,
Look up fRound in the manual.
For some more info on maths especially the limitations of floats and using integers in their place have a look at this article I wrote a few years back...
4. ## Thread: Decimal part from a Float

by John Drew
Replies
19
Views
306

### Re: Decimal part from a Float

Here was my similar solution:

John

Good one Bob, that's the simplest. There's many ways of doing this. Bob's answer does give a float, you might prefer an integer result.

by John Drew
Replies
26
Views
622

Spot on Stephen, humour helps us cope.
John
6. ## Thread: RTC accuracy and settings

by John Drew
Replies
14
Views
360

### Re: RTC accuracy and settings

Another option is to put a small trimming variable cap in place of one of the fixed caps. Standard practice in ham radios in the good old days when we used crystals.
John
7. ## Thread: Preventing a byte rollover

by John Drew
Replies
7
Views
383

### Re: Preventing a byte rollover

Has to be 255-X.
If X was zero we couldn't load 256.
I always have to think twice on that one Tim.
John

by John Drew
Replies
17
Views
679

### Re: Why would anybody buy anything from Apple.

Interesting comment on file Explorer See_mos.
I have that trouble and I thought it was my inability to set up a network properly. Sometimes it locks me out for a non existent password....

by John Drew
Replies
20
Views
793

### Re: Versioning

In addition to Les's comments I usually write the version number to edata. I can access this either on a menu or by remote command. A read of the micro also works.
John
10. ## Thread: Driver for ILI9341

by John Drew
Replies
59
Views
2,671

### Re: Driver for ILI9341

Fair enough Flosi, it is an amazing piece of work and will save a lot of us headaches trying to work it out for ourselves.
Looking forward to the new developments in due course.
John
11. ## Thread: Driver for ILI9341

by John Drew
Replies
59
Views
2,671

### Re: Driver for ILI9341

That's fantastic Flosi.
Would you consider making it a WIKI entry so we don't lose track of it in future?
John

by John Drew
Replies
7
Views
261

Hi Craig,
A couple of things.
Using PICconfigurator is always a good way to make sure your fuses are set correctly.
Secondly, it might be a typo but you say you set the sample time at 50ms. That's...
13. ## Thread: Les's ILI9325 Wiki code

by John Drew
Replies
142
Views
3,665

### Re: Proton PIC BASIC Compiler - ADS7846 TouchScreen Controller Library

Great, I know Charlie will be pleased too.
John
14. ## Thread: Les's ILI9325 Wiki code

by John Drew
Replies
142
Views
3,665

### Re: Proton BASIC Compiler - Software SPI interface to an ADS7846 touchscreen controll

Flosi, knowing that running SPI for touch and display on the same SPI will slow things down, will your new code support that technique and accept the shortcomings for a non critical application?
John
15. ## Thread: error in lcd 16x2

by John Drew
Replies
19
Views
803

### Re: error in lcd 16x2

Does it print to LCD if you comment out the "Valor= ....." line?
What version of the compiler are you using?
John
16. ## Thread: Proton Compiler 24-bit Long Integer Variables to be added soon!

by John Drew
Replies
4
Views
216

### Re: Proton Compiler 24-bit Long Integer Variables to be added soon!

Sounds great Les, especially down the track when you get the signed Long. I find the sword with only +/- 32k limiting.
Thanks for your continuing work to make Proton even greater.
John
17. ## Thread: RF modules recomendations?

by John Drew
Replies
9
Views
354

### Re: RF modules recomendations?

Tim,
Be aware that the range 420-450MHz is an amateur radio allocation. There may be transmitters outputting up to 1kW, especially around 432-433. There are also satellite transmissions between...

by John Drew
Replies
41
Views
1,717

### Re: Something screwy about 16F88 OSCCON register

On some projects, even though the ICSP pins are not shared, I find I have power up the board AND provide power through the pickit 3.
John
19. ## Thread: Interrupt and SHout problem

by John Drew
Replies
18
Views
2,709

### Re: Interrupt and SHout problem

Here are some thoughts on the interrupt routine showing how to use a flag.
Print statements and loops checking things should be avoided.
John

'INTERRUPT================
Isr_Handler:
...
20. ## Thread: Interrupt and SHout problem

by John Drew
Replies
18
Views
2,709

### Re: Interrupt and SHout problem

Your interrupt routine is far too complex and will be taking too much time, especially as you have a waiting loop (while/wend).
Interrupt routines should deal with essentials only.
What you do is...
21. ## Thread: Interrupt and SHout problem

by John Drew
Replies
18
Views
2,709

### Re: Interrupt and SHout problem

Run75
I was able to get the % signs showing but not sure what your actual values were. You'll need to check. Welcome to the Forum.
John
22. ## Thread: Interrupt and SHout problem

by John Drew
Replies
18
Views
2,709

### Re: Interrupt and SHout problem

Run75, I have tidied things up for you and made use of Fuse Configurator (search on the forum for this) to set the fuses.
Also, use comments to keep track of what you are doing. It is especially...
23. ## Thread: Interrupt and SHout problem

by John Drew
Replies
18
Views
2,709

### Re: Interrupt and SHout problem

I'm using my phone at present and because you've lost the setting out it is very hard to follow. I'll put it in an editor tomorrow and see if I can adjust things. At this point it appears to be at...
24. ## Thread: Interrupt and SHout problem

by John Drew
Replies
18
Views
2,709

### Re: Interrupt and SHout problem

One error is the "do" in line 5 of Main. It shouldn't be present. I'm surprised the compiler doesn't complain.
John
25. ## Thread: NEC Protocol IR remote control decoder

by John Drew
Replies
16
Views
1,643

### Re: NEC Protocol IR remote control decoder

I wish it was Charlie.
16000km is a long way but it would be worth it. The UK versus Oz, I can see Les racing down the pitch to deliver a fast ball while Charlie wicket keeps, the UK users crouched...
26. ## Thread: Les's ILI9325 Wiki code

by John Drew
Replies
142
Views
3,665

### Re: Les's ILI9325 Wiki code

Great news Charlie. By the way I spotted a reference in Silicon Chip that suggested that when running two SPI devices from the same MSSP that it was necessary to reset the MSSP when changing chip...
27. ## Thread: Problem receiving string

by John Drew
Replies
10
Views
955

### Re: Problem receiving string

Hi Bob,
I much prefer using hardware so I can detect an interrupt and with the 1 byte buffer it is very unlikely to miss a character.
Best wishes
John
28. ## Thread: NEC Protocol IR remote control decoder

by John Drew
Replies
16
Views
1,643

### Re: NEC Protocol IR remote control decoder

Nicely done AG.
John
29. ## Thread: Problem receiving string

by John Drew
Replies
10
Views
955

### Re: Problem receiving string

G'day Bob,
I would have thought that lower baud rates would be less error prone than 119k.
John

by John Drew
Replies
142
Views
3,665

John
31. ## Thread: Les's ILI9325 Wiki code

by John Drew
Replies
142
Views
3,665

### Re: Proton PIC BASIC Compiler - ADS7846 TouchScreen Controller Library

Yes Flosi, and they take up a lot of space too. So I just include the fonts I need and even then keep them to a minimum of two.
I've got the keypad working nicely.
John
32. ## Thread: Les's ILI9325 Wiki code

by John Drew
Replies
142
Views
3,665

### Re: Proton BASIC Compiler - Software SPI interface to an ADS7846 touchscreen controll

Greetings all,
Thanks Flosi, your and Les's code works and I now need to do the calibrating but at least I am getting results. Now to put my keyboard on the screen.
In the long run I want to be...
33. ## Thread: Les's ILI9325 Wiki code

by John Drew
Replies
142
Views
3,665

### Re: Les's ILI9325 Wiki code

All noted Charlie,
What I'll do is get touch going first with Les's code and light LEDs on the Amicus. Then I'll try switching the CS, then add the graphics.
On phone at present. Bowls tomorrow. ...
34. ## Thread: Les's ILI9325 Wiki code

by John Drew
Replies
142
Views
3,665

### Re: Proton PIC BASIC Compiler - ADS7846 TouchScreen Controller Library

Charlie, I'm beginning to wonder if your displays without the chip supplied required something other than just the chip. I will take over the experimenting again as my displays came with the chip and...
35. ## Thread: Les's ILI9325 Wiki code

by John Drew
Replies
142
Views
3,665

### Re: Les's ILI9325 Wiki code

Les, thanks for the further explanation on the use of '\$define cConstant" and 'Symbol'. I now fully understand.
Re the 'hte' that is not so unusual. I do the same with 'the' and some other words....
36. ## Thread: Les's ILI9325 Wiki code

by John Drew
Replies
142
Views
3,665

### Re: Les's ILI9325 Wiki code

Thanks for the explanation Les, it was really helpful as were the earlier tips on using Touch.
I am a bit inconsistent with my naming strategy and will in future bring my code into line with your...
37. ## Thread: Les's ILI9325 Wiki code

by John Drew
Replies
142
Views
3,665

### Re: Les's ILI9325 Wiki code

In Les's code he uses:
\$define ADS_SDO_Pin PORTC.5 ' SPI SDO to ADS7846 DIN (Uses the MSSP1 peripheral)

by John Drew
Replies
24
Views
1,004

### Re: Flying drones

Fanie, I've been told that it is not just something you do easily.
It can be quite disorientating and can make some pilots feel sick. Apparently it requires practice when I would have imagined it...

by John Drew
Replies
24
Views
1,004

### Re: Flying drones

Bloody hell Fanie, do you leap tall buildings too?
John
40. ## Thread: Happy New Year

by John Drew
Replies
6
Views
337

### Re: Happy New Year

G'day Fanie,
Yes, it's been b...... awful. I really feel for people who have lost everything. Last night there was smoke from the fires about 500 km to the east. Today is going to be 40 deg here in...
41. ## Thread: Happy New Year

by John Drew
Replies
6
Views
337

### Re: Happy New Year

Happy New Year everyone, may all your programs work first time and you and your families be healthy and happy.
John

by John Drew
Replies
3
Views
262

Greetings Jean,
Nice board. The 16F1827 fits in the same place as the PIC16F628 and you can use the internal oscillator in the 16F1827 instead of using the 3.5MHz clock from the MT8870 to run the...
43. ## Thread: PIC18F24Q10 interrupt serial routine with terminator

by John Drew
Replies
5
Views
467

### Re: PIC18F24Q10 interrupt serial routine with terminator

Greetings Jon,
Would you put this on the WIKI?
Good info can be lost in the forum whereas in the WIKI it can be easily found. From memory there's a section on serial code.
Cheers
John
44. ## Thread: Merry Christmas everyone

by John Drew
Replies
11
Views
463

### Re: Merry Christmas everyone

Merry Christmas and a Happy New Year to all my forum friends and a special greeting to Les for his amazing compiler and Lester for his helpful forum.
Have a good one everyone.
PS Graham, no...
45. ## Thread: PIC Basic to Proton Basic Convertion

by John Drew
Replies
20
Views
3,872

### Re: PIC Basic to Proton Basic Convertion

George, I should have used past tense "used". However there was a small advantage pre Proton Studio and Fineline in that when loading an INC file in the old IDE an Inc file had to be accessed by...
46. ## Thread: PIC Basic to Proton Basic Convertion

by John Drew
Replies
20
Views
3,872

### Re: PIC Basic to Proton Basic Convertion

Include files with a .BAS extension work fine as long as it agrees with the file type of the actual file. I often use it.
John
47. ## Thread: New Serial EERAM has nonvolatility at the Speed of SRAM

by John Drew
Replies
4
Views
418

### Re: New Serial EERAM has nonvolatility at the Speed of SRAM

Norm, your mailbox is full and it won't accept messages. This is the only way I can communicate.
John
48. ## Thread: PIC Basic to Proton Basic Convertion

by John Drew
Replies
20
Views
3,872

### Re: PIC Basic to Proton Basic Convertion

Would you please describe what the line does?
Then we can be a little more helpful.
John
49. ## Thread: Need more pins! Support update / alternative for 16F18455?

by John Drew
Replies
9
Views
817

### Re: Need more pins! Support update / alternative for 16F18455?

Oh well, I was close!
Get yourself a copy of the program called "Everything". Google will find it.
It's a tiny EXE that doesn't need installing. It's free and is absolutely the fastest file finder...
50. ## Thread: Need more pins! Support update / alternative for 16F18455?

by John Drew
Replies
9
Views
817

### Re: Need more pins! Support update / alternative for 16F18455?

Dave,
The simplest way to check is to look in the list of .def files in sub folders of ProtonIde in Program files (x86).
John
John
51. ## Thread: Les's ILI9325 Wiki code

by John Drew
Replies
142
Views
3,665

### Re: Les's ILI9325 Wiki code

Greetings all,
Well this touch stuff is proving hard.
Two problems
1) the code on the WIKI and Forum of Les's Touch control has the leading %0 problem. I reckon I can guess my way around that.
2)...
52. ## Thread: Microcap now free

by John Drew
Replies
19
Views
970

### Re: Microcap now free

Good one Gamboa, time for breakfast and my morning vegemite :)
@George: They screech and carry on, drop pine cones on cars and roofs and can be a bit of a pain (yours excepted of course Ken). So...
53. ## Thread: Microcap now free

by John Drew
Replies
19
Views
970

### Re: Microcap now free

At least the galah knows which is up Ken.
Sorry Fanie drop bears are native to Australia and cannot be found in South Africa.
54. ## Thread: Microcap now free

by John Drew
Replies
19
Views
970

### Re: Microcap now free

If only you blokes on top realised how tough it is gripping on with our toes. Only last week one of my mates got cramp and now he's gone, right through the hole in the ozone layer.
55. ## Thread: Clean up old versions

by John Drew
Replies
7
Views
711

### [SOLVED !] Re: Clean up old versions

Oh!
Now some extra words so the forum is happy.
:)
John

by John Drew
Replies
16
Views
1,230

### Re: It's Christmas, how about a bit of giving?

G'day Bob,
I find the safest way with PayPal is to transfer a small amount of money into my PayPal account from time to time (\$200). Then that's the most I can lose. It would hurt if it was stolen...
57. ## Thread: Clean up old versions

by John Drew
Replies
7
Views
711

### [SOLVED !] Re: Clean up old versions

G'day Rick,
If you look at the properties of the shortcuts you'll find they point to the same file. So just delete the shortcut you don't want. Then I just uninstall the old registry entries using...

by John Drew
Replies
9
Views
626

Thanks Les.
John
59. ## Thread: file missing from Proton 3.7.3.3 update??

by John Drew
Replies
9
Views
626

### Re: file missing from Proton 3.7.3.3 update??

Les, please re- consider using the Proton Files area if possible as we can go there anytime without having to remember an outside URL.
Best wishes
John
60. ## Thread: Driver for ILI9341

by John Drew
Replies
59
Views
2,671

### Re: Driver for ILI9341

Thanks Flosi and Charlie, 3.3 it will be. I'll use the Amicus18 for experiments and make sure it's putting out 3.3.
Cheers from Oz
John
61. ## Thread: Driver for ILI9341

by John Drew
Replies
59
Views
2,671

### Re: Driver for ILI9341

Hi Charlie,
My graphic LCD have arrived. I think they are the same as yours although they have the touch chip.
Before I blow them up, are they 3.3 or 5volt devices.
All the best
John

by John Drew
Replies
16
Views
1,230

### Re: It's Christmas, how about a bit of giving?

Done, every bit helps.
John

by John Drew
Replies
13
Views
861

### Re: Proton review

Thanks for the info Lester, I'll make some changes tomorrow.
John

by John Drew
Replies
13
Views
861

### Re: Proton review

Lester/Stephen,
Thought I'd better do it before the search engines found the page. It was easier than I thought, my web authoring program made it a piece of cake.
Would you please check it I have...

by John Drew
Replies
13
Views
861

### Re: Proton review

Stephen, I use WebPlusX7 a UK product but unfortunately no longer supported. They moved to another product. I know I can insert HTML but from memory I think the program has support for keywords. I...

by John Drew
Replies
13
Views
861

### Re: Proton review

Thanks for the tips Lester and Stephen. As you can tell I'm no expert at these things. Personally I'm not interested in how many hits my site receives, however, I do want to do what I can to increase...

by John Drew
Replies
13
Views
861

### Proton review

As promised I've written a brief review of PDS.
I get a reasonable number of hits on my Amateur Radio Website so I've created a page about Proton.
PDS deserves to be more widely used. If enough of...
68. ## Thread: PIC 18F1330 HPWM problem

by John Drew
Replies
49
Views
2,377

### Re: PIC 18F1330 HPWM problem

G'day Archi,
It's very hard to read your code when you post as you do.
When you post code use the advanced tab. Then when...

by John Drew
Replies
8
Views
656

### Re: Christmas Lights

I'm with you Bob, last year I had to clean up under the monitor each day. The bits were so small and sharp. I can feel a competition coming on. How about a timer Lester? Although I can see a problem...

by John Drew
Replies
15
Views
800

Hi Bob,
That's it, you've found the problem. I used Chrome and everything worked as it should.
Firefox has of late developed some strange actions. I also use it to access a cloud based service of...

by John Drew
Replies
15
Views
800

Hi Bob,
I was using Firefox too. Maybe that's the issue.
John

by John Drew
Replies
15
Views
800

That's interesting Bob, I had the same problem. It downloads as a .ZIP file but it's not a .zip file. Just removed the .Zip extension using rename and then ran the EXE and all is sweet.
I don't...
73. ## Thread: SI7021 Temperature & Humidity Sensor

by John Drew
Replies
14
Views
914

### Re: SI7021 Temperature & Humidity Sensor

Great idea, otherwise code gets lost in the forum. I look forward to reading the article.
John
74. ## Thread: SI7021 Temperature & Humidity Sensor

by John Drew
Replies
14
Views
914

### Re: SI7021 Temperature & Humidity Sensor

Hbusin is really useful when you don't know when the data will arrive. However there is a knack to it. For example you need to use the correct pins and set up an interrupt which is triggered by the...
75. ## Thread: SI7021 Temperature & Humidity Sensor

by John Drew
Replies
14
Views
914

### Re: SI7021 Temperature & Humidity Sensor

Seems to be a timing issue. If you read temperature first does it then drop humidity?
I've found it is better to use HBusin in and make use of the buffer and the generated interrupt. There is code...
76. ## Thread: 18F25K20 osc / clock odd frequency

by John Drew
Replies
10
Views
642

### Re: 18F25K20 osc / clock odd frequency

G'day Brett,
To solve the 21MHz mystery. Higher frequency crystals operate in overtone mode. They operate in odd multiples of their fundamental frequency. So it would seem that your crystal is a...
77. ## Thread: 18F25K20 osc / clock odd frequency

by John Drew
Replies
10
Views
642

### Re: 18F25K20 osc / clock odd frequency

Without checking the data sheet I'm unsure whether the device will run an external 64MHz crystal.
I suggest you use a 16MHz crystal and the 4x PLL fuse.
Use Fuse Configurator for setting this up....

by John Drew
Replies
5
Views
2,698

### Re: Variable

I tried to give you a thumbs up but I might have done the reverse at which point I got confused and thought a note may be better :)
John
79. ## Thread: Support for 18LF26K22 and 18LF45K22

by John Drew
Replies
7
Views
2,645

### Re: Support for 18LF26K22 and 18LF45K22

My experience is to tell the compiler it is a F device and tell the programmer it is an LF device. That way both are happy.
I still use MPLAB 8.92 for the programmer just in case that is important....
80. ## Thread: PPS for 8bit Microchip Micocontrollers

by John Drew
Replies
19
Views
1,760

### Re: PPS for 8bit Microchip Micocontrollers

Evan, to date I haven't used an 8 bit device where I've had PPS.
However it doesn't mean I won't. I never knock back a tool for the toolbox.
Thanks for your support for Proton and anything that...
81. ## Thread: 10Hz to 10KHz Frequency Generator

by John Drew
Replies
8
Views
589

### Re: 10Hz to 10KHz Frequency Generator

Somewhere on the forum or the WIKI there is a timer calculator. If you can't find it send me a PM with an email address and I'll send you a copy. Using my phone at present and searches are a pain -...

by John Drew
Replies
2
Views
278

### Re: Hello

Welcome to the forum Cemati.
John
83. ## Thread: Driver for ILI9341

by John Drew
Replies
59
Views
2,671

### Re: Driver for ILI9341

OK Flosi, unfortunately my display doesn't have IM pins available.
I'll look forward to my next parcel.
Cheers from Oz,
John
84. ## Thread: Driver for ILI9341

by John Drew
Replies
59
Views
2,671

### Re: Driver for ILI9341

Well I've triple checked all my connections and no luck with Les's code using parallel mode. As Flosi mentioned it probably requires all 16 bits address. I'm only using DB8-15 on the display so maybe...
85. ## Thread: Driver for ILI9341

by John Drew
Replies
59
Views
2,671

### Re: Driver for ILI9341

Thanks Flosi and Bob,
I needed SPI for a special project.
While I'm waiting for some...
86. ## Thread: Phase offseting PWM to prevent noise on fans

by John Drew
Replies
12
Views
726

### Re: Phase offseting PWM to prevent noise on fans

You may need 100nF across the input/output to help suppress frequency transients Tim.
Just a thought.
John
87. ## Thread: Driver for ILI9341

by John Drew
Replies
59
Views
2,671

### Re: Driver for ILI9341

G'day all,
I'm being driven mad by a supposed ILI9341 display ( 2.4TFT 240*320 V21_9341). I bought it as a ILI9325 but the label suggests it's a ILI9341. Maybe that's just a model number.
I'm using...
88. ## Thread: dword to float changes, lost of accuracy

by John Drew
Replies
4
Views
767

### Re: dword to float changes, lost of accuracy

Amateurtje,
If you need greater precision use a 16 bit chip (e.g pic24fxxx) as the compiler supports 64 bit (8byte) floats in these and a significant improvement in accuracy.
Just as an example as...
89. ## Thread: dword to float changes, lost of accuracy

by John Drew
Replies
4
Views
767

### Re: dword to float changes, lost of accuracy

Greetings,
You've come up against the accuracy limit of 4 byte float variables. You may be able to overcome your problem by making use of Integer division (div) and mod.
There is an article on this...
90. ## Thread: PIC 18F1330 HPWM problem

by John Drew
Replies
49
Views
2,377

### Re: PIC 18F1330 HPWM problem

Thanks Tumbleweed.
Archi I hope that helps . You need to load those registers to get the correct pulse width.
I have a visitor staying at present and can't help for a few days.
John
91. ## Thread: PIC 18F1330 HPWM problem

by John Drew
Replies
49
Views
2,377

### Re: PIC 18F1330 HPWM problem

I can't find PRx. The datasheet refers to PRx (presumably PR1 and Pr2 in Archi's case).
Just trying to help Archi but not skilled enough.
John
92. ## Thread: PIC 18F1330 HPWM problem

by John Drew
Replies
49
Views
2,377

### Re: PIC 18F1330 HPWM problem

Archi is having trouble with setting up two independent PWM on the 16f1827. Has anyone had experience with this?
From what I can see there are a couple of registers needed that are not described in...
93. ## Thread: PIC 18F1330 HPWM problem

by John Drew
Replies
49
Views
2,377

### Re: PIC 18F1330 HPWM problem

Welcome back Archi.
Have you tried an edit of the PPI file using Notepad?
John
94. ## Thread: Microcap now free

by John Drew
Replies
19
Views
970

### Microcap now free

For any of you interested in using an integrated schematic editor and mixed analog/digital simulator the program Microlab is now free. It's owner has retired and decided to make it available free....
95. ## Thread: Tester posting Binary Notation

by John Drew
Replies
6
Views
294

### Re: Tester posting Binary Notation

Test message using code

GetMute:
DelayUS 20 ' Charging time ADC
MuteVal = ADIn 0 ' Pin 1 is ADC2 input @ 16F1827
If...
96. ## Thread: Playing with Procedures

by John Drew
Replies
20
Views
1,325

### Re: Playing with Procedures

Tim's comments are spot on. I've never run out of variables. Like Tim I re-used bTemp1 etc within gosubs until Procedures came along.
97. ## Thread: Star characters in emails from forum

by John Drew
Replies
2
Views
307

### Star characters in emails from forum

Lester,
I can't remember if this is just a recent issue but I'm seeing "*" characters inserted into the emails.
It only occurs when users have put
and around their posts and the entries are...
98. ## Thread: Playing with Procedures

by John Drew
Replies
20
Views
1,325

### Re: Playing with Procedures

As a minnow in the sea of knowledge in this Forum it seems to me that a software stack is the most reliable way of introducing true local variables. I appreciate the obstacles such as size management...
99. ## Thread: Playing with Procedures

by John Drew
Replies
20
Views
1,325

### Re: Playing with Procedures

Yep, that's right George, sorry if I gave a wrong impression. What, only one mistake in 19. I passed that on January 2nd.
John

Try this:

All_Digital =true
Declare Xtal 10
Declare LCD_Type 0 ...
100. ## Thread: Playing with Procedures

by John Drew
Replies
20
Views
1,325

### Re: Playing with Procedures

George, in that case why not just declare a global?
Although that would mess up the easy reading of parameter passing.
I think Les once suggested that one day he might work on real local variables...
101. ## Thread: Playing with Procedures

by John Drew
Replies
20
Views
1,325

### Re: Playing with Procedures

Greetings Alberto,
You have a great knowledge of the compiler and finding a way to have real local variables is quite an achievement. In the past Les has explained his solution of pseudo local...
102. ## Thread: SMS Number Save

by John Drew
Replies
19
Views
1,446

### Re: SMS Number Save

Great progress Gary.
I am almost halfway between Adelaide and Melbourne near the coast. I love NZ. Been a couple of times and we might go again - we have 200,000 Qantas points to use up and we can't...
103. ## Thread: SMS Number Save

by John Drew
Replies
19
Views
1,446

### Re: SMS Number Save

Two and a half hours - we're into daylight saving now. Body is still adjusting.
I'm in the south east corner of South Australia.
John
104. ## Thread: Proton MKII Development Board

by John Drew
Replies
73
Views
1,685

### [OFFER] Re: Proton MKII Development Board

Lester, I'm happy to pay the extra for my package. You shouldn't be out of pocket and packaging also takes time.
Let me know, it won't break me.
I also wouldn't mind more Amicus boards if...
105. ## Thread: Tester posting Binary Notation

by John Drew
Replies
6
Views
294

### Re: Tester posting Binary Notation

Valid points Stephen, especially for word or dword.
However I do find it easier when setting registers from the datasheet to use binary. The grey cells struggle to visualise a hex digit into its 4...
106. ## Thread: Tester posting Binary Notation

by John Drew
Replies
6
Views
294

### Re: Tester posting Binary Notation

Now another one using preview

TRISA = 000011
TRISB = 110001 ' Quadrature inputs, Int0
TRISC = 000000

and another line

So the moral of the...
107. ## Thread: Tester posting Binary Notation

by John Drew
Replies
6
Views
294

### Re: Tester posting Binary Notation

Here's a test without previewing

TRISA = %00000011
TRISB = %00110001 ' Quadrature inputs, Int0
TRISC = %00000000

another line for testing
108. ## Thread: SMS Number Save

by John Drew
Replies
19
Views
1,446

### Re: SMS Number Save

Hi Gary,
You create a string like this:
Dim MyString as String * 20
You have created a byte array. The difference is that a string has a character 0 at the end of the data which signifies the end...
109. ## Thread: Posting Binary Notation

by John Drew
Replies
8
Views
377

### Re: Posting Binary Notation

Aha, that's why, thanks
110. ## Thread: Posting Binary Notation

by John Drew
Replies
8
Views
377

### Re: %00110011

This is a rest

%00110011
%10110110
Test
More
111. ## Thread: SMS Number Save

by John Drew
Replies
19
Views
1,446

### Re: SMS Number Save

Sounds like you're having fun Gary.
I'm experimenting with an Amicus18 from the same source. Still found time to mow the lawns and keep in the good books with the wife :)
John
112. ## Thread: New Prusa mini 3D printer

by John Drew
Replies
34
Views
1,257

### Re: New Prusa mini 3D printer

Looks a bit flimsy for high accuracy.
John
113. ## Thread: Posting Binary Notation

by John Drew
Replies
8
Views
377

### Re: %00110011

Magic touch.
I've had the problem happen to me. I wonder if it's when we cut and paste. I'll check tomorrow, on my phone now.
John
114. ## Thread: SMS Number Save

by John Drew
Replies
19
Views
1,446

### Re: SMS Number Save

Hi Gary,
Forgive me if I'm telling you what you already know.
All information in a micro is stored in binary. It is just the viewing device that makes it look like hex or decimal or ASCII.
That is...
115. ## Thread: Posting Binary Notation

by John Drew
Replies
8
Views
377

### Re: %00110011

How did you make that work Lester?
John
116. ## Thread: Trying a procedure, but errors I found

by John Drew
Replies
6
Views
261

### Re: Trying a procedure, but errors I found

That is amazing Les, and it suppports so many devices.
For we users it's like the swimming duck. Calm on the surface and paddling like mad below.
John

PS Les and I were typing at the same time....
117. ## Thread: Serin baud rate / clock dependency?

by John Drew
Replies
11
Views
517

### Re: Serin baud rate / clock dependency?

Responding to post 5 and the last comment, you won't have any trouble achieving 300 baud. The limits come in at high speeds, not low speeds.
John
118. ## Thread: Proton MKII Development Board

by John Drew
Replies
73
Views
1,685

### [OFFER] Re: Proton MKII Development Board

OK, thanks Lester. I'm into graphic displays at present so any info on the board with the graphic display would be appreciated.

edit: the board doesn't seem to have a label but it has a serial...
119. ## Thread: Proton MKII Development Board

by John Drew
Replies
73
Views
1,685

### [OFFER] Re: Proton MKII Development Board

G'day Lester,
Box arrived today. thanks very much. Some great boards in there and a small number that are a mystery - but that's half the fun.
I've bought in some PIC18F26K22 so will find the...

by John Drew
Replies
3
Views
196

### Re: Comeback post

I very much doubt that your account would ever be deleted Shantanu. :)
John
121. ## Thread: Driver for ILI9341

by John Drew
Replies
59
Views
2,671

### Re: Driver for ILI9341

Disregard this post Flosi,
My directory path/names exceeded some sort of limit in the assembler. As soon as I shortened things down all compiles fine...
John

Hi Flosi,
I tried to compile your...

by John Drew
Replies
73
Views
1,685

John
123. ## Thread: Perhaps one small step to popularise Proton

by John Drew
Replies
5
Views
281

### Re: Perhaps one small step to popularise Proton

One of the first things I do when purchasing something is to look for a review. A quick search showed just one and that referred to the 50 line limit of the free edition of many years ago.
I for one...
124. ## Thread: Pic18f25k20 + module i2c (pcf8574)

by John Drew
Replies
8
Views
544

### Re: Pic18f25k20 + module i2c (pcf8574)

The other advantage of Hbusout/in is they have small hardware buffers and interrupts.
I've used both the 8574 and the MCP23017 (16 ports ) with WIKI software for Lcd and for both inputs and...
125. ## Thread: SD File System revisited

by John Drew
Replies
13
Views
1,525

### Re: SD File System revisited

Hi Alberto,
Procedures are so much easier to understand when looking at another's code. I've always found macros a bit of a mystery, but that's just me.
So next project bite the bullet and have a...
126. ## Thread: One mans meat is another mans poison

by John Drew
Replies
19
Views
478

### Re: One mans meat is another mans poison

I'll try on the computer tomorrow. Not so easy to read using my phone.
John
127. ## Thread: Les's ILI9325 Wiki code

by John Drew
Replies
142
Views
3,665

### Re: Les's ILI9325 Wiki code

I might not have been clear that as well as running the touch I want to run the display from SPI. I know that will have speed problems.
John
128. ## Thread: Les's ILI9325 Wiki code

by John Drew
Replies
142
Views
3,665

### Re: Les's ILI9325 Wiki code

I'm waiting on my ILI9325 2.4" display. For a development of a project I want to use the graphic display with touch.
Speed is not important, it will have a touch numeric keypad and a line or two of...
129. ## Thread: Proton MKII Development Board

by John Drew
Replies
73
Views
1,685

### [OFFER] Re: Proton MKII Development Board

Hi Lester,
I will PM my address and my email.
Regards
John
130. ## Thread: One mans meat is another mans poison

by John Drew
Replies
19
Views
478

### Re: One mans meat is another mans poison

All understood, thanks Lester.
John
131. ## Thread: One mans meat is another mans poison

by John Drew
Replies
19
Views
478

### Re: One mans meat is another mans poison

I didn't explain myself very well Lester. When using my phone at night (I'm pretending to watch TV and keep my wife company) keystrokes are a pain so brevity wins out.
Previously (i.e. prior to your...
132. ## Thread: The Proton manual

by John Drew
Replies
16
Views
577

### Re: The Proton manual

The ABC network here in Oz used Betamax recorders in the field for quite some time after they had disappeared from domestic sale. I think it was for quality reasons and maybe weight. But I could be...
133. ## Thread: One mans meat is another mans poison

by John Drew
Replies
19
Views
478

### Re: One mans meat is another mans poison

Lester, it behaved in the same way as the usual url
John
134. ## Thread: One mans meat is another mans poison

by John Drew
Replies
19
Views
478

### Re: One mans meat is another mans poison

Hi Lester,
The list of unread posts that used to be available when browsing a thread have gone. I usually hit "What's New" to get me started and then click on the threads showing above the post I...
135. ## Thread: Newbie to the forum!

by John Drew
Replies
5
Views
2,487

### Re: Newbie to the forum!

Greetings Ivan and welcome back.
Best wishes
John
136. ## Thread: SSD1306 lcd problem

by John Drew
Replies
11
Views
358

### Re: SSD1306 lcd problem

That's an interesting point.
I've only used 32MHz so maybe you've identified the issue for 64MHz.
John
137. ## Thread: SSD1306 lcd problem

by John Drew
Replies
11
Views
358

### Re: SSD1306 lcd problem

Have you checked the i2c address is correct.
I have two the displays working with Dompie's code.
John
138. ## Thread: The Proton manual

by John Drew
Replies
16
Views
577

### Re: The Proton manual

I noticed the same thing George. It was definitely possible in years gone by.
Maybe it's because of the PDF editors out there that could create altered manuals. Les?
John
139. ## Thread: Les's ILI9325 Wiki code

by John Drew
Replies
142
Views
3,665

### Re: Les's ILI9325 Wiki code

The Silicon Chip Backpack was a bit more sophisticated. It used a pic32 programmed with a BASIC interpreter. Programs could be loaded serially using any old serial editor.
140. ## Thread: New CAN Library

by John Drew
Replies
6
Views
392

### Re: New CAN Library

Bob,
Microchip have freight free at present. Have a look at MicrochipDirect.
John
141. ## Thread: Les's ILI9325 Wiki code

by John Drew
Replies
142
Views
3,665

### Re: Les's ILI9325 Wiki code

Hi Charlie,
Many of those with different sizes share a ILI9325. So I was hoping it was just the size of the pixels.
I'm hoping to produce a PDS equivalent of the LCD BackPak (Silicon chip articles)...
142. ## Thread: Les's ILI9325 Wiki code

by John Drew
Replies
142
Views
3,665

### Re: Les's ILI9325 Wiki code

G'day charlie,
Do I read you correctly, you'll produce a list of tested graphic displays, their driver chips and a corresponding list of the Proton drivers that work with them?

That would be very...
143. ## Thread: Les's ILI9325 Wiki code

by John Drew
Replies
142
Views
3,665

### Re: Les's ILI9325 Wiki code

G'day Charlie and Flosi,
Well done on success. I reckon the more articles the better. It all helps with our understanding
I got bored watching TV last night and did some searching and found a 2.4...
144. ## Thread: Les's ILI9325 Wiki code

by John Drew
Replies
142
Views
3,665

### Re: Les's ILI9325 Wiki code

Charlie, in some code I have for controlling an audio recorder I set that pin low before sending a command and then set it high after each command. Basically a chip select function I guess.
So fits...
145. ## Thread: Philips RC5_Toggle Bit and Pulse Timings

by John Drew
Replies
7
Views
2,180

### Re: Philips RC5_Toggle Bit and Pulse Timings

Unfortunately I don't know enough to help. There are others on the forum who have used the protocol so hopefully they will contribute when they see this thread.
Is it imagination but the lower...
146. ## Thread: Philips RC5_Toggle Bit and Pulse Timings

by John Drew
Replies
7
Views
2,180

### Re: Philips RC5_Toggle Bit and Pulse Timings

The RC5 system is very well described in Wikipedia. The timings in the article could be a good place to start.
As you know most remote controller failures are in the buttons that lose their carbon...
147. ## Thread: Les's ILI9325 Wiki code

by John Drew
Replies
142
Views
3,665

### Re: Les's ILI9325 Wiki code

Les, thanks for the link to the display. As soon as I get home I'll buy one and use a p24.
The good thing is I'll be able to experiment on Charlie's coat tails.
John
148. ## Thread: Les's ILI9325 Wiki code

by John Drew
Replies
142
Views
3,665

### Re: Les's ILI9325 Wiki code

Thanks Charlie and Flosi,
I looked at the link and the display connections look complicated, does it have a flexible connector?
I think SPI would be better for my applications as I seem to always...
149. ## Thread: Les's ILI9325 Wiki code

by John Drew
Replies
142
Views
3,665

### Re: Les's ILI9325 Wiki code

Charlie, just out of curiosity, what kind of display is it?
I've successfully used the 0.96inch displays and they are very good all things considered but I've been tempted to experiment with 2.4 or...
150. ## Thread: CWRITE and 18F25K50

by John Drew
Replies
9
Views
248

### Re: CWRITE and 18F25K50

From an 18F datasheet, not the one you're using.

A read from program memory is executed on one byte
at a time. A write to program memory is executed on
blocks of 64 bytes at a time. Program...

by John Drew
Replies
21
Views
6,048

### Re: 3x4 alpha numeric keypad

4X4 keypads are easily obtained from eBay at very cheap prices.
John

by John Drew
Replies
2
Views
165

### Re: Test

Welcome to the forum KrysG
John
153. ## Thread: UART and USB Issues with PIC18F97J94

by John Drew
Replies
11
Views
2,838

### Re: UART and USB Issues with PIC18F97J94

G'day Malcolm,
Les seems to read most posts but the best way to contact him is through the Anomaly section of the forum.
To identify the problem he needs to have a short Proton program that...
154. ## Thread: Stupid things I dun today

by John Drew
Replies
4
Views
143

### Re: Stupid things I dun today

Reminds when I was young I had a Vauxhall Wyvern car. It was always burning its points. After cleaning the points it often wouldn't start because I forgot the little rotor arm under the distributor...
155. ## Thread: Temperature Controller Problem

by John Drew
Replies
71
Views
10,356

### Re: Proton Compiler Button Toggle Procedure

In your subroutine replace the Goto line at the end of each subroutine with the word 'Return'.
John
156. ## Thread: How to use timers in microcontroller

by John Drew
Replies
4
Views
2,416

### Re: How to use timers in microcontroller

The first thing to do is to download the datasheet for the processor you are using.
Next, read the section on timers many times until you understand how they work.
When you understand this you will...

by John Drew
Replies
20
Views
1,234

Whoops :)
John
158. ## Thread: TX/RX with CC1101 Texas

by John Drew
Replies
20
Views
1,234

### Re: TX/RX with CC1101 Texas

Hello Giuseppe
Comments are not allowed after \$Define
There's a good reason for it, I think it's tied in with the pre-processor.
John
159. ## Thread: Using procedures, best practices

by John Drew
Replies
9
Views
258

### Re: Using procedures, best practices

Using an example to expand on Les's explanation.
If you have a procedure called "BigLongNameProcedure" (20characters) and you have a local variable called "BigLongnameVariable" (19 characters) then...

by John Drew
Replies
3
Views
233

### Re: Oh dear.....

Can't help with the password David, but great to see you back. We missed your knowhow.
John
161. ## Thread: Temperature Controller Problem

by John Drew
Replies
71
Views
10,356

### Re: Temperature Controller Problem

Amod,
Fuse configurator can be found in the files section.
John
162. ## Thread: Temperature Controller Problem

by John Drew
Replies
71
Views
10,356

### Re: Temperature Controller Problem

Amod,
Three things for you to keep in mind
1) when declaring TRIS use binary as it makes easy to see which ports you are setting as inputs
2) put comments into your code so you know what you are...
163. ## Thread: Temperature Controller Problem

by John Drew
Replies
71
Views
10,356

### Re: Temperature Controller Problem

Amod, you are setting portd.0 as an input but testing portd.7
Look up TRIS in the manual.
John
164. ## Thread: TX/RX with CC1101 Texas

by John Drew
Replies
20
Views
1,234

### Re: TX/RX with CC1101 Texas

Hi Giuseppe
I see there is some code for an Arduino on this site. It might give you a start.
https://www.elecrow.com/wiki/index.php?title=433MHz_RF_Transceiver_CC1101_Module
John

by John Drew
Replies
5
Views
147

### Re: Correct terminolgy

I see that Les refers to signed and unsigned variables. So that confirms Tumbleweed's reply. I guess it's logical that the inverse of signed is unsigned.
John

by John Drew
Replies
5
Views
147

John
167. ## Thread: LCD display module HT1621

by John Drew
Replies
4
Views
1,184

### Re: LCD display module HT1621

Les, procedures make it very easy to follow code not like the C example posted which was a tangled mess.
It's a shame that the word BASIC implies elementary. Protonbasic is far from that.
John
168. ## Thread: Programmer does not recognize a target device

by John Drew
Replies
10
Views
183

### Re: Programmer does not recognize a target device

I think you are on the right track Stephen. I do remember that when I was charging my phone (or accessing its files)
I had more of these voltage issues. Maybe my computer USB socket(s) is one of...
169. ## Thread: New Microchip 16 to 24 bit high speed A/D converters

by John Drew
Replies
3
Views
259

### Re: New Microchip 16 to 24 bit high speed A/D converters

Norm,
I can't help but wonder at the technology to do so much in a tiny 20 pin package. It is an amazing leap from the valve days where I started when to achieve a similar thing may have taken an...
170. ## Thread: Programmer does not recognize a target device

by John Drew
Replies
10
Views
183

### Re: Programmer does not recognize a target device

Good point George.
I have a little diecast box with several ZIF sockets that I use to program devices for customers. It has no power supply and no power drain apart from the ICSP. Perhaps I it...
171. ## Thread: Programmer does not recognize a target device

by John Drew
Replies
10
Views
183

### Re: Programmer does not recognize a target device

Yes Fanie,
I thought it was my old bones shaking but it was the whole darn continent moving (No, it's not what you're thinking - I'm past that). I hope we're not leaving Tassie behind, they get left...
172. ## Thread: Programmer does not recognize a target device

by John Drew
Replies
10
Views
183

### Re: Programmer does not recognize a target device

Fanie, I sometimes have that problem with my pickit 3.
If I reduce the programming voltage to 4.85V it works.
No idea why.
John
173. ## Thread: #ELSE has no blue backcolor

by John Drew
Replies
23
Views
458

### Re: #ELSE has no blue backcolor

I'll leave it Puffeltje, Thanks for the guidance.
John
174. ## Thread: Floating point strangeness

by John Drew
Replies
6
Views
183

### Re: Floating point strangeness

I agree with Tumbleweed.
This needs an anomaly report.
John
175. ## Thread: Android file access from PC

by John Drew
Replies
4
Views
127

### Re: Android file access from PC

Thanks Gamboa,
I'll experiment.
John
176. ## Thread: #ELSE has no blue backcolor

by John Drew
Replies
23
Views
458

### Re: #ELSE has no blue backcolor

To delete just your messages in the thread would leave responses just hanging mysteriously with no connection to comments you've made. The thread belongs to another person who started it. So unless...
177. ## Thread: Android file access from PC

by John Drew
Replies
4
Views
127

### Re: Android file access from PC

I use MyPhoneExplorer for keeping my contacts, calendar etc synced with Outlook. Means there's always a back up of the data.
I've not tried to access files via WiFi only used USB.
I don't have WiFi...
178. ## Thread: #ELSE has no blue backcolor

by John Drew
Replies
23
Views
458

### Re: #ELSE has no blue backcolor

Well it is the case on my computer. Are you using the most recent version of Proton Studio?
Proton Studio 1.0.2.3

John
179. ## Thread: #ELSE has no blue backcolor

by John Drew
Replies
23
Views
458

### Re: #ELSE has no blue backcolor

Yes, it saves files and if you have changed a file and you try to shut Proton Studio down it warns if you want to save files. I think maybe you haven't told the program where to save the files and it...
180. ## Thread: #ELSE has no blue backcolor

by John Drew
Replies
23
Views
458

### Re: #ELSE has no blue backcolor

JOHNGB is unavailable at present. When he is I'm sure he will see your post and fix the problem.
John D

by John Drew
Replies
44
Views
7,379

Sounds like you've identified why things are unreliable.
In your setup of the registers do you have mclr ON. Is low voltage programming off?
4k7 sounds fine. I've never seen mclr behave like that,...

by John Drew
Replies
44
Views
7,379

Before you connect USB are you sure there is Vdd and Vss on the correct pins?
John

by John Drew
Replies
44
Views
7,379

That shouldn't happen if your board is correctly wired. I suggest you check your hardware.
John
184. ## Thread: Temperature Controller Problem

by John Drew
Replies
71
Views
10,356

### Re: Temperature Controller Problem

Amod, put your best effort In a post and there may be someone who can see where you are going wrong.
John
185. ## Thread: Les has just uploaded Proton Compilers Full Installer - Proton 3.7.1.7 - Proton24 1.0

by John Drew
Replies
1
Views
192

### Re: Les has just uploaded Proton Compilers Full Installer - Proton 3.7.1.7 - Proton24

Les, I notice the fix concerning symbols below 0.5 being rounded to 0.
I use:
to convert degrees to radians in many places in a complex program and it works. Was this fix...
186. ## Thread: i need help for 12F1571 pwm

by John Drew
Replies
34
Views
6,697

### Re: i need help for 12F1571 pwm

I've updated the article and corrected a couple of errors. Thanks fellas.
John

http://www.protonbasic.co.uk/content.php/219-Floating-point-issues-and-alternatives
187. ## Thread: i need help for 12F1571 pwm

by John Drew
Replies
34
Views
6,697

### Re: i need help for 12F1571 pwm

Thanks for the clarification Les.
I'll revisit the article. It seems that for Proton 8bit the 23 bit mantissa is all that is available.
The current system works adequately so I reckon improvements...
188. ## Thread: i need help for 12F1571 pwm

by John Drew
Replies
34
Views
6,697

### Re: i need help for 12F1571 pwm

G'day Tumbleweed,
You're right there is an error. I think the correct value is 16777215 (2^24-1). I'll do an adjust to the article when I get the chance. I believe in the IEEE754 standard the first...
189. ## Thread: i need help for 12F1571 pwm

by John Drew
Replies
34
Views
6,697

### Re: i need help for 12F1571 pwm

Somewhere in the WIKI there is an article on floating point maths where this is all explained. I wrote it quite a few years back and it includes a section on using integers to achieve greater...
190. ## Thread: Temperature Controller Problem

by John Drew
Replies
71
Views
10,356

### Re: Temperature Controller Problem

It's better to stick to one compiler otherwise everyone including yourself will get confused.
John

by John Drew
Replies
4
Views
248

### Re: dword Aliases

I wrapped it in code for you Jez so it's easier to read.
John
192. ## Thread: Temperature Controller Problem

by John Drew
Replies
71
Views
10,356

### Re: Temperature Controller Problem

Amod, which compiler are you using? You have "PAUSEus 4000".
Delays in PDS use delayus or delayms.
John

by John Drew
Replies
44
Views
7,379

Hello Francis, I think the problem is that most of us don't use bootloaders.
Hang in there.i know it doesn't get easier as we get older, it just takes longer but it's also the best way to stave off...
194. ## Thread: clear and interrupt handler - problem?

by John Drew
Replies
12
Views
415

### Re: clear and interrupt handler - problem?

A near miss Stephen :)
Good question George. My gut says no, but if it didn't what's the point of it. So I'm ignoring the gut and putting money on it does.
We may have to wait for the master - or...
195. ## Thread: clear and interrupt handler - problem?

by John Drew
Replies
12
Views
415

### Re: clear and interrupt handler - problem?

I haven't checked but I thought it was something like this:
Dim bVar = 5 as byte
I probably have it wrong as using my phone to post.
John
196. ## Thread: Temperature Controller Problem

by John Drew
Replies
71
Views
10,356

### Re: Temperature Controller Problem

As described previously you can either
1) sample say 10 times each input from the A/D then assign a Word variable such as Value =0. Then Value = Value + NewAD for 10 samples then divide by 10....
197. ## Thread: List of Supported Chips

by John Drew
Replies
2
Views
257

### Re: List of Supported Chips

Simon, okay on the missing letters.
There are two listings on the forum.i created one of them after writing a program in Delphi to find the device names in my devices directory.
I'm using my phone...
198. ## Thread: 12F683 help needed reading values from GP4 and GP5

by John Drew
Replies
10
Views
316

### [SOLVED !] Re: 12F683 help needed reading values from GP4 and GP5

I may have accidentally hit the closed button. It should be re-opened now.
John
199. ## Thread: 12F683 help needed reading values from GP4 and GP5

by John Drew
Replies
10
Views
316

### [SOLVED !] Re: 12F683 help needed reading values from GP4 and GP5

I don't think the optimiser supports 12F chips so try removing that statement.
200. ## Thread: 12F683 help needed reading values from GP4 and GP5

by John Drew
Replies
10
Views
316

### [SOLVED !] Re: 12F683 help needed reading values from GP4 and GP5

I can't see where you've set the TRIS register.
John
On my phone so might have missed it.
Results 1 to 200 of 1000
Page 1 of 5 1