Search found 31 matches

by LEEDNH
Thu May 19, 2022 11:15 pm
Forum: IDE
Topic: Missing the final compiler's line on the IDE
Replies: 10
Views: 465

Re: Missing the final compiler's line on the IDE

That's it! Thank you Jerry!! I say that so often that if this were done via paper, I would have a stamp made... I had 6 different basic programs in the IDE..... I was under the impression that each new file loaded replaced the previous one... Now I know what CLOSE PAGE and CLOSE ALL are for under th...
by LEEDNH
Tue May 17, 2022 4:58 am
Forum: IDE
Topic: Missing the final compiler's line on the IDE
Replies: 10
Views: 465

Re: Missing the final compiler's line on the IDE

MORE INFO - I think this may be helpful. I have been concentrating on the compile messages and looking for the results bar. The test program I have been using has no header file and has no resemblance to a program. When I hit compile, the screen jumps, a different program appears, then the screen j...
by LEEDNH
Tue May 17, 2022 3:32 am
Forum: IDE
Topic: Missing the final compiler's line on the IDE
Replies: 10
Views: 465

Re: Missing the final compiler's line on the IDE

Hi Jerry Yes, we both agree. what you have shown is the results bar. What I get is a bar that says READY (a single line height bar). I did some additional testing Sunday comparing results between the Full SF and SFse. SFse provides expected "normal" results on programs compiled that are within the m...
by LEEDNH
Mon May 16, 2022 2:33 am
Forum: IDE
Topic: Missing the final compiler's line on the IDE
Replies: 10
Views: 465

Re: Missing the final compiler's line on the IDE

Jerry, I forgot to mention about the down arrow on the right side of the results bar. I don't get the results bar. (Or I may for a few milliseconds). I get a bar that has a right facing arrow just before the word Ready which then indicates the position of the cursor and flashes a quick message that ...
by LEEDNH
Mon May 16, 2022 1:26 am
Forum: IDE
Topic: Missing the final compiler's line on the IDE
Replies: 10
Views: 465

Re: Missing the final compiler's line on the IDE

Gentlemen, I would try copying the SE IDE over to the full version... Yes, I did not want to do that! At that point, my troubleshooting ended and my post began.... Minds greater than mine being needed.... If the summary window is what appears at the bottom of the IDE then what I am trying to say is ...
by LEEDNH
Sun May 15, 2022 1:29 am
Forum: IDE
Topic: Missing the final compiler's line on the IDE
Replies: 10
Views: 465

Missing the final compiler's line on the IDE

I have a minor problem with the IDE screen. After a successful compilation, the screen jumps, but the final line that summarizes the results at the bottom of the IDE page never appears. I also have a version of Swordfish SE and, of course, the IDE works just fine with SE. I have looked in the progra...
by LEEDNH
Wed Apr 21, 2021 12:53 am
Forum: Modules
Topic: I2C SCANNER
Replies: 13
Views: 2603

Re: I2C SCANNER

HI JERRY, Yes we are getting good results. Due to your guidance. Left on my own, I would be going in circles of ever increasing radii. I do very much appreciate your help! I had tried the shift instruction as Z = Z >> 3 TAKE Z SHIFT IT 3 X RIGHT AND STICK IT BACK INTO Z (KIND OF LIKE IN C) BUT I GOT...
by LEEDNH
Tue Apr 20, 2021 6:41 am
Forum: Modules
Topic: I2C SCANNER
Replies: 13
Views: 2603

Re: I2C SCANNER

THE CODE MAY BE READY FOR A TEST DRIVE (OF THE BETA KIND)...... THE PROGRAMMING INTERFACE PINS 2, 3, & 4 ARE USED FOR POWER AND SERIAL OUT AT 19200 8N&1. THE OUTPUT I GOT FROM MY BOARD IS AS FOLLOWS (SOME ADDRESSES REMOVED TO MAKE IT MORE COMPACT): ---------------------------------------------------...
by LEEDNH
Tue Apr 20, 2021 4:48 am
Forum: Modules
Topic: I2C SCANNER
Replies: 13
Views: 2603

Re: I2C SCANNER

Hi jerry I am confused about the shift instructions. addr = addr>>3 is this statement okay in SF. shift addr right 3x A statement like addr = addr>>3 seemed to give compile errors when I tried it. Your if I2C.IsPresent(addr << 1) then compiles fine..... You may have fixed another mistake I have been...
by LEEDNH
Tue Apr 20, 2021 4:24 am
Forum: Modules
Topic: I2C SCANNER
Replies: 13
Views: 2603

Re: I2C SCANNER

Hi Jerry The reason I started messing with the scanner was because I was having trouble with an I2C INA219 I/V/P MONITORING DEVICE. It would free a pin now used as an analog port to an INA240 HI SIDE ANALOG CURRENT MONITOR. Applying this device has really grown into something I never expected. The i...
by LEEDNH
Mon Apr 19, 2021 11:52 pm
Forum: Modules
Topic: I2C SCANNER
Replies: 13
Views: 2603

Re: I2C SCANNER

It works! But, it behaves as if it were in an infinite loop, ignoring the for-next. I noticed the continuous operation when I used 8 bit addresses while trouble shooting... Here are the results (for a scan from $80 to $FE) and code I added to escape from the tendency for infinite repetition .... Sca...
by LEEDNH
Mon Apr 19, 2021 9:49 pm
Forum: Modules
Topic: I2C SCANNER
Replies: 13
Views: 2603

Re: I2C SCANNER

I was wondering why the address range was from 0 to 126 as I have used the I2C successfully in the past and always shifted left for the read / write bit, (that's what happens to a copy cat). I had tried the 128 to 254 loop and got a "hit" on every address. I suspected that zero might represent a "sp...
by LEEDNH
Sun Apr 18, 2021 10:40 pm
Forum: Modules
Topic: I2C SCANNER
Replies: 13
Views: 2603

I2C SCANNER

I'm back again. I am trying to scan for I2C devices using the function"IsPresent(addr)" from the I2C module. Looking at the "IsPresent(addr)"it seems to do the exact function of verifying that an I2C device exists in the pic's hardware @ addr. I have had limited success in that the code does detect ...
by LEEDNH
Sat Apr 10, 2021 1:43 am
Forum: Modules
Topic: i2c Does not want to show what's on the bus?
Replies: 5
Views: 1109

Re: i2c Does not want to show what's on the bus?

Hello Bitfogav Bitfogav, please no need to be apologize for anything... If I had used the processor you specified, it would have worked great. I tend to use the k22 series because I've had relatively good luck with them. I very much appreciate your willingness to share your work, as I am sure many o...
by LEEDNH
Wed Apr 07, 2021 3:08 am
Forum: Modules
Topic: i2c Does not want to show what's on the bus?
Replies: 5
Views: 1109

Re: i2c Does not want to show what's on the bus?

THANKS Jerry! I spent some time this past weekend trying to trouble shoot the problem. Even looked at the data pin to make sure it wasn't somehow shorted to ground - nope 10k to Vdd. I did notice the last "public" function in the i2c module " IsPresent(addrs) " and tried it as well. All of the code ...