Activity for jackjames

  • jackjames jackjames posted a comment on discussion Open Discussion

    AVG antivirus also sees it as a virus

  • jackjames jackjames posted a comment on discussion Open Discussion

    Once the StartPWM sub enters the loop, it will never leave it again.

  • jackjames jackjames posted a comment on discussion Compiler Problems

    Thanks

  • jackjames jackjames posted a comment on discussion Compiler Problems

    Gcstudio has updated himself, but when I go to fill in a program with the use of single variables he tells me he doesn't recognize them. Where can I download the updated compiler?

  • jackjames jackjames posted a comment on discussion Contributors

    Certainly

  • jackjames jackjames posted a comment on discussion Contributors

    I wrote a library to program the TLC5620 quad DAC. This component has four DAC outputs and must be programmed in serial mode. To do this, a total of four pins on the micro are used. For more information on the operation of this DAC I recommend reading its datasheet. I actually wrote two versions of libraries: The first uses the "#Define" to define the various pins that will be connected to the DAC. This library takes up less memory space than the second version. The second version does not use "#Define"...

  • jackjames jackjames posted a comment on discussion Open Discussion

    When is the official release of the compiler?

  • jackjames jackjames posted a comment on discussion Open Discussion

    I have been using the DS3231 for some time. The quartz is integrated into the chip and they have a very high precision (2ppm) and stability that absolutely cannot be compared to the DS1307. The module also has an AT24C32 EEPROM which can always be useful. After the winter (so after several months of having set the time) I checked the time in the garden sprinkler in which I used the DS3231 with a clock connected to the DCF77 and the difference was less than a second.

  • jackjames jackjames posted a comment on discussion Open Discussion

    MERRY CHRISTMAS TO ALL THE FRIENDS OF THIS WONDERFUL FORUM

  • jackjames jackjames posted a comment on discussion Open Discussion

    My mistake! I had already sized the Pressure variable as long. When I renamed the names of the variables (which were in a struct, therefore NameStruct.NameVar) two variables were created with the same name, one long and the other word. The compiler rightly took the first one created as valid. Thanks to your help, seeing that you were fine with it, I investigated the very complex and long code and found the error.

  • jackjames jackjames posted a comment on discussion Open Discussion

    About Using "Alias" I'm turning a structure type variable with words and bytes into an array so I can handle and pass it easily. So in this array of bytes I have to insert byte and word values. With this statement you are given an error: Dim smeteo (20) as byte Dim Pressure As Word Alias smeteo (12), smeteo(13) Error: Size of alias variable (4) does not match number of locations (2). But doesn't a word variable take up two bytes?

  • jackjames jackjames posted a comment on discussion Compiler Problems

    I know I'm a pain in the ass... A question I've wanted to ask for a long time. Let's talk about "Select Case" case 10 - It works Case 1 to 23 - It works Case 1,3,5,7 - Does not work. Is my compiler bad or is there a reason why this feature wasn't implemented?

  • jackjames jackjames posted a comment on discussion Compiler Problems

    I solved the "verbose mode" problem with your advice. For download speed there was no way to fix it.

  • jackjames jackjames posted a comment on discussion Compiler Problems

    Thank you for your availability. I solved the problem. GC Studio has already been updated to the latest release. A curiosity: I noticed that the download speed of the update has dropped significantly and it takes over an hour to download. Let me start by saying that I have FFTH fiber and that with other sites the speeds are completely different.

  • jackjames jackjames posted a comment on discussion Compiler Problems

    I installed the latest version (Version: 1.76.2 Release: 23074 Date: 2023-03-15T18:36:59.657Z) and I noticed that verbose mode doesn't work correctly. The "/V" command is present but the compilation still does not insert comments. From the IDE I couldn't find the way to insert the "Verbose mode" and so I manually inserted the "/V" in the batch and json files. I also set up Verbose with settings.exe. I attach two files with the compilation performed previously and the current one.

  • jackjames jackjames posted a comment on discussion Compiler Problems

    Yes Evan. You understood very well.

  • jackjames jackjames posted a comment on discussion Compiler Problems

    It's not a problem but a suggestion. A very useful thing could be the "Compiled" message after compiling the program which remains visible in the status bar until something has been changed in the source. As in MikroBasic or MikroC compilers. I find it very useful information.

  • jackjames jackjames posted a comment on discussion Open Discussion

    Donation made. Bye

  • jackjames jackjames posted a comment on discussion Open Discussion

    Hi Evan. By clicking on the link PayPal directly asks me for my login details... but it doesn't show me the amount, so if I accept I don't know how much I'll pay.

  • jackjames jackjames posted a comment on discussion Open Discussion

    It doesn't depend on the compiler. I wrote the same program in MikroBasic leaving out the LCD section and it gave the same problem. Thinking that maybe they are my micros, I used a pic12f629 that I had in the drawer and it has a similar architecture to the 12F683: The result is the same. So, is it possible that it is a micro-specific problem?

  • jackjames jackjames posted a comment on discussion Open Discussion

    Ok have a good weekend

  • jackjames jackjames posted a comment on discussion Open Discussion

    I commented all the references to the I2C bus and the display, the problem remains.

  • jackjames jackjames posted a comment on discussion Open Discussion

    I program with pickit3 and pickit3 programmer. However, I remove the micro from the circuit and plan it, the pickit is not connected to the circuit. McLR is used as input to read the pressure of a key. I am attaching the part of the source that creates the problem where you also find the very simple scheme of the micro connections.

  • jackjames jackjames posted a comment on discussion Open Discussion

    NO WAY. The problem remains.

  • jackjames jackjames posted a comment on discussion Open Discussion

    Errors have been found: Error: LCD Parameters not setup correctly - please correct the LCD setupSYSLCDTEMP.0, or your Defined CONSTANT, is not a valid I/O pin or port Error: LCD Parameters not setup correctly - please correct the LCD setupSYSLCDTEMP.1, or your Defined CONSTANT, is not a valid I/O pin or port

  • jackjames jackjames posted a comment on discussion Open Discussion

    The I2C bus works very well and also the Print on the LCD display. PulluP's resistance on the bus are there. The offending exit, GP5, perfectly pilot the LED. The LCD display works very well both when the problem is created by setting the T1Con register, and when T1con is not set and the output on GP5 is ok. LCD_io 4 it is not possible to use it because the micro has only 6 doors.

  • jackjames jackjames posted a comment on discussion Open Discussion

    Now I'm not at home, as soon as possible I perform these tests and let you know.

  • jackjames jackjames posted a comment on discussion Open Discussion

    Unfortunately the problem occurs. If I don't call the TempoTimer1 routine where the registers are set to activate the timer1, the circuit works perfectly. So the problem arises when the T1CON register is touched or the TMR1H TMR1L register. I thought it was a problem of microcontroller but occurs on three different microcontrollers.

  • jackjames jackjames modified a comment on discussion Open Discussion

    I forgot the subject :( I know ... I always find problems ... sorry! I detected a strange problem that occurs with a pic12f683: I use the GP5 port to pilot an active buzzer. This door works well until the timer1 is imposed, then it no longer reacts to programming. In the code that I attach (I cut the rest and left only the code that creates the problem) I added two loops that perform a flashing to check the ASM which, however, seems to me ok. The line that calls the sub that creates this problem...

  • jackjames jackjames posted a comment on discussion Open Discussion

    I know ... I always find problems ... sorry! I detected a strange problem that occurs with a pic12f683: I use the GP5 port to pilot an active buzzer. This door works well until the timer1 is imposed, then it no longer reacts to programming. In the code that I attach (I cut the rest and left only the code that creates the problem) I added two loops that perform a flashing to check the ASM which, however, seems to me ok. The line that calls the sub that creates this problem is highlighted in the source....

  • jackjames jackjames posted a comment on discussion Compiler Problems

    The test is OK. It's Ok for me.

  • jackjames jackjames modified a comment on discussion Compiler Problems

    This piece of code is enough to see the problem. The program structure is not visible in the GCStudio editor. If instead they delete the line (just delete the * symbol) the structure will be visible. (line 414)

  • jackjames jackjames posted a comment on discussion Compiler Problems

    This piece of code is enough to see the problem. The program structure is not visible in the GCStudio editor. If instead they delete the line (just delete the * symbol) the structure will be visible.

  • jackjames jackjames modified a comment on discussion Compiler Problems

    The error is from the editor and not the compiler. (Sorry, I made a mistake in posting the question on the forum). It shows up in the explorer window and doesn't show me the structure of the listing, so no variables, routines or #defines. For example this line: "// For serial reading" positioned in any point of the listing it prevents the vision. The sequence " // " makes the comment brighter in the program listing. (The character * after // is not seen...)

  • jackjames jackjames modified a comment on discussion Compiler Problems

    The error is from the editor and not the compiler. (I made a mistake in posting the question on the forum). It shows up in the explorer window and doesn't show me the structure of the listing, so no variables, routines or #defines. For example this line: "// For serial reading" positioned in any point of the listing it prevents the vision. The sequence " // " makes the comment brighter in the program listing. (The character * after // is not seen...)

  • jackjames jackjames modified a comment on discussion Compiler Problems

    The error is from the editor and not the compiler. (I made a mistake in posting the question on the forum). It shows up in the explorer window and doesn't show me the structure of the listing, so no variables, routines or #defines. For example this line: "// For serial reading" positioned in any point of the listing it prevents the vision. The sequence " // " makes the comment brighter in the program listing.

  • jackjames jackjames modified a comment on discussion Compiler Problems

    The error is from the editor and not the compiler. (I made a mistake in posting the question on the forum). It shows up in the explorer window and doesn't show me the structure of the listing, so no variables, routines or #defines. For example this line: "// For serial reading" positioned in any point of the listing it prevents the vision. The sequence "//" makes the comment brighter in the program listing.

  • jackjames jackjames posted a comment on discussion Compiler Problems

    The error is from the editor and not the compiler. (I made a mistake in posting the question on the forum). It shows up in the explorer window and doesn't show me the structure of the listing, so no variables, routines or #defines. For example this line: // For serial reading positioned in any point of the listing it prevents the vision. The sequence // makes the comment brighter in the program listing.

  • jackjames jackjames posted a comment on discussion Compiler Problems

    If this sequence of characters is inserted anywhere in a .GCB file: "//* it no longer finds the symbols. Message: No symbols found in document xxxxxx.gcb

  • jackjames jackjames posted a comment on discussion Compiler Problems

    A good and right thing is to be able to see a list with subs and functions such as synwrite. When programs are long with hundreds of routines I switch to synwrite.

  • jackjames jackjames posted a comment on discussion Open Discussion

    You are always available. Thank you!

  • jackjames jackjames posted a comment on discussion Open Discussion

    In GCStudio I saw that inserting a comment like this "//!" the line is written in red, I replaced "!" with "?" and the color has changed. I couldn't find guidance on using these commands. Where can I read them?

  • jackjames jackjames posted a comment on discussion Help

    Thanks

  • jackjames jackjames posted a comment on discussion Help

    It would be nice to see a working example

  • jackjames jackjames posted a comment on discussion Open Discussion

    Is there an instruction or algorithm that transforms time and date into unix format and vice-versa?

  • jackjames jackjames posted a comment on discussion Help

    Certain. It was an example.

  • jackjames jackjames posted a comment on discussion Help

    To avoid IO jitter I program the whole port directly. I set the affected bits to their value in a variable, mask them with the bits that are not to be programmed, and then directly program the TRIS register with the value of the variable. (Example: TRISB = MyVar).

  • jackjames jackjames posted a comment on discussion Help

    Ok. Thanks

  • jackjames jackjames posted a comment on discussion Help

    Downloading gcbasic64.exe comes out in 42K file. If I click it instead: "error 404"

  • jackjames jackjames posted a comment on discussion Open Discussion

    I wrote this routine in mikrobasic and it works perfectly with a 20x4 display. I hope it can be useful. 1 for row 1 and col 1 Sub Procedure Locate (Dim LCDLine, LCDColumn As Byte) Const LCD_WIDTH = 20 ' Columns ' - LCDLine = LCDLine -1 LCDColumn = LCDColumn -1 ' - If LCDLine > 1 Then LCDLine = LCDLine - 2 LCDColumn = LCDColumn + LCD_WIDTH End If ' - Lcd_Cmd (0x80 Or 0x40 * LCDLine + LCDColumn) Delay_us (50) End Sub

  • jackjames jackjames posted a comment on discussion Open Discussion

    It's a real shame that GCB doesn't support structs. I solved it by creating an array and assigning each element a name as in the example: Structure in Mikrobasic: Structure StrutturaDatiMiaCod Dim Unit As Byte ' Unità di appartenenza Dim Ind1 As Byte ' Indirizzo 1 RX Dim Ind2 As Byte ' Indirizzo 2 RX Dim Comando As Byte ' Comando trasmesso Dim Param1 As Byte ' Parametro N° 1 Dim Param2 As Byte ' Parametro N° 2 Dim Param3 As Byte ' Parametro N° 3 Dim Param4 As Byte ' Parametro N° 4 Dim Param5 As Byte...

  • jackjames jackjames posted a comment on discussion Open Discussion

    Yup. In MIkroBasic the message is written in the line at the bottom of the editor, as in the attached image. In GCStudio it may appear the same way.

  • jackjames jackjames posted a comment on discussion Open Discussion

    A very useful thing to add in the status bar, in my opinion, is the time the compilation was made and the wording "Compiled" which disappears if a change is made to the source. Like the Mikrobasic compiler.

  • jackjames jackjames posted a comment on discussion Open Discussion

    Merry Christmas to all friends of GCBasic

  • jackjames jackjames posted a comment on discussion Compiler Problems

    When I compile (F6) the program, in the Terminal window it does not show me the memory occupied by the program and the memory available and the memory available for the variables. Am I wrong something?

  • jackjames jackjames posted a comment on discussion Compiler Problems

    RESOLVED !

  • jackjames jackjames posted a comment on discussion Compiler Problems

    I'm trying to get used to the new editor. However, there are two problems that I have not been able to solve: The first is the display of the characters we use in Italy, for example "è" which are not displayed. The second instead is: How can I view the list of subroutines and functions?

  • jackjames jackjames posted a comment on discussion Compiler Problems

    @Angel: Pizza is best enjoyed with coke. Chianti wine is best enjoyed with meat (but I don't drink wine and I'm a vegetarian) ... If you come to Italy you can taste an infinite variety of pizzas, and not just those. @Evan & Angel The problem arises when I import a file containing those characters written with SynWrite. If I overwrite them in the editor, the character is displayed correctly.

  • jackjames jackjames posted a comment on discussion Compiler Problems

    Thanks to Angel and Evan.

  • jackjames jackjames posted a comment on discussion Compiler Problems

    A very useful thing is the selection of Sub and Function because, if there are many as in some of my programs, the search becomes unpleasant.

  • jackjames jackjames posted a comment on discussion Compiler Problems

    I apologize for having replied late but I was out of Rome and did not have a PC with me. I installed the patch, the update process started and the software updated without problems.

  • jackjames jackjames posted a comment on discussion Open Discussion

    Thanks

  • jackjames jackjames posted a comment on discussion Open Discussion

    Gcstudio is very delicious but I also prefer to use synwrite. I wrote programs in which more than 400 routines were present. With Synwrite it is very easy to switch from one routine to another simply by clicking on the name of the routine on the list. With Gcstudio you have to go to look for it on the list, easy if the program is short, annoying with very large programs. Isn't there a trick to move quickly between routines?

  • jackjames jackjames posted a comment on discussion Programmers and Chip Files Problems

    Thanks

  • jackjames jackjames posted a comment on discussion Programmers and Chip Files Problems

    The title says it all. I have to carry a program from a less performing PIC to a PIC18F2620 that I have available. Having to address some pins I loaded PPSTOOL. Looking for the PIC that interests me I noticed the absence of the PIC18F2620. The PIC18F26k20 is present in the list of available XML files but this is not displayed in the PPSTOOL menu. The installed version is 1.81.8

  • jackjames jackjames posted a comment on discussion Compiler Problems

    I investigate and let you know

  • jackjames jackjames posted a comment on discussion Compiler Problems

    Hi Evan, I apologize for the delay but I was busy for work and also did not have internet available. I replaced reservedwords.dat and the problem is solved. Thank you

  • jackjames jackjames posted a comment on discussion Compiler Problems

    I installed the latest patch and now the compiler gives me the following error on each file (image)

  • jackjames jackjames posted a comment on discussion Help

    Indeed Studio is very powerful, perhaps even too much. For more complex and large programs I always prefer to use the SynWrite editor, especially since it is much easier to navigate between the various routines.

  • jackjames jackjames posted a comment on discussion User Submitted Projects, Demos & Guides

    Thanks

  • jackjames jackjames posted a comment on discussion User Submitted Projects, Demos & Guides

    Where did you buy it?

  • jackjames jackjames posted a comment on discussion Compiler Problems

    I apologize for having replied late but I was out of Rome and did not have a PC with me. I installed the patch, the update process started and the software updated without problems.

  • jackjames jackjames posted a comment on discussion Compiler Problems

    The version is 1.68.0

  • jackjames jackjames posted a comment on discussion Compiler Problems

    Problem solved ! Thanks Evan for the help you gave me. The GCStudio version is the last one that updated itself, but the a-d.h version was stuck on the previous one. Thanks Jack

  • jackjames jackjames posted a comment on discussion Compiler Problems

    I made some updates on a software on a micro PIC16F18857 written some time ago and compiled with version 0.98.07 RC32. After compiling with the latest version of the compiler, the ADC reading does not work. I enclose the 'offending' routine. Obviously the various registers needed are set properly. Sub LeggiADC W_Adc = 0 ' - Repeat NUMCAMPIONI ANSELA.ANSA0 = 1 W_Adc = W_Adc + ReadAD10 (AN0) If bSeriale Then Exit Sub End If Wait 2 ms End Repeat ' - V_Adc = W_Adc /[Word] NUMCAMPIONI ' Per test locate...

  • jackjames jackjames posted a comment on discussion Compiler Problems

    A very useful thing is the selection of Sub and Function because, if there are many as in some of my programs, the search becomes unpleasant.

  • jackjames jackjames posted a comment on discussion Programmers and Chip Files Problems

    I can try in Italy. But not before two or three weeks because I'm not in Rome.

  • jackjames jackjames posted a comment on discussion Compiler Problems

    Thanks to Angel and Evan.

  • jackjames jackjames posted a comment on discussion Compiler Problems

    @Angel: Pizza is best enjoyed with coke. Chianti wine is best enjoyed with meat (but I don't drink wine and I'm a vegetarian) ... If you come to Italy you can taste an infinite variety of pizzas, and not just those. @Evan & Angel The problem arises when I import a file containing those characters written with SynWrite. If I overwrite them in the editor, the character is displayed correctly.

  • jackjames jackjames posted a comment on discussion Compiler Problems

    I'm trying to get used to the new editor. However, there are two problems that I have not been able to solve: The first is the display of the characters we use in Italy, for example "è" which are not displayed. The second instead is: How can I view the list of subroutines and functions?

  • jackjames jackjames modified a comment on discussion Compiler Problems

    RESOLVED !

  • jackjames jackjames posted a comment on discussion Compiler Problems

    Even expanding the terminal you only see the lines that are in the image. During processing, the lines generated by the preprocessor and the compiler are seen scrolling, but in the end only those of the attached image are visible.

  • jackjames jackjames posted a comment on discussion Compiler Problems

    When I compile (F6) the program, in the Terminal window it does not show me the memory occupied by the program and the memory available and the memory available for the variables. Am I wrong something?

  • jackjames jackjames posted a comment on discussion Open Discussion

    I had an old tektronix that reached the green grasslands of Manitou and I replaced it with this one. It has good quality and it's honest. https://www.amazon.it/DSO4102S-Oscilloscopio-Digital-Generator-AC100-240V/dp/B07K32RTL4

  • jackjames jackjames posted a comment on discussion Open Discussion

    If you have also entered the CANBUS library I think it couldn't be better. THANKS for the great work you do.

  • jackjames jackjames posted a comment on discussion Open Discussion

    Merry Christmas to all the members of this fantastic group.

  • jackjames jackjames posted a comment on discussion Open Discussion

    Thanks

  • jackjames jackjames posted a comment on discussion Open Discussion

    I wrote this post because recently several patches have been released concerning both the compiler and the .dat files. If I download the "latest version" installer, the compiler has a release date of 2021/07/24, earlier than the last one released with the patch. So, to get the full updated functionality, should I download the installation file and any patches after that date? Wouldn't it be more convenient to create a new installation file complete with everything?

  • jackjames jackjames posted a comment on discussion Open Discussion

    An information: I need to install an updated version of GCB on a new computer. I would like to know if there is a complete installation file of the latest updates and patches.

  • jackjames jackjames posted a comment on discussion Open Discussion

    Hi Evan. Is the modified code available for download?

  • jackjames jackjames posted a comment on discussion Open Discussion

    Is there a way to download all the updates in a single zipped file instead of downloading them individually?

  • jackjames jackjames posted a comment on discussion Open Discussion

    Is there a way to download all the updates in a single zipped file instead of downloading them individually?

  • jackjames jackjames posted a comment on discussion User Submitted Projects, Demos & Guides

    At first glance it seems OK to me.

  • jackjames jackjames posted a comment on discussion Compiler Problems

    Thanks

  • jackjames jackjames posted a comment on discussion Compiler Problems

    I downloaded the file to perform a complete new installation. This error occurs:

  • jackjames jackjames posted a comment on discussion Compiler Problems

    Thank you for your explanation.

  • jackjames jackjames posted a comment on discussion Compiler Problems

    I apologize to everyone for being late, but I've been busy on business. In fact, inserting the definition "USELEGACYFORNEXT" the program runs well. I would like to understand what was going on in the program. Taking a first look at the ASM source it seemed all right.

  • jackjames jackjames posted a comment on discussion Compiler Problems

    I have encountered a problem with the "Tone" statement. I needed to create the sound of a two-tone siren, so I got a PIC12F683 clocked at 8MHz to be able to generate these two tones. The simplest thing to have two notes of 660 and 466 Hz for a duration of 750 mS was to use the "Tone" instruction. I encountered this problem that is generated both with the micro and in emulation with SimulIDE. In practice, if I play the two notes with an interval of 750 mS the micro generates only the first tone at...

1 >