Re: [jallib] Just Another PIC Programmer (JAPP) update

2024-09-19 Thread Rob CJ
te If the python script uses only "console" functions, it can be compiled into an executable file. I know there are compilers for python... at least, Linux and Windows. On Wed, Sep 18, 2024 at 8:01 PM Rob CJ mailto:rob...@hotmail.com>> wrote: Hi Vasile, Initially the charge pu

Re: [jallib] Re: searching for procedures in jal lib files

2024-09-18 Thread Rob CJ
Hi Vasile, You can search for keywords in all JAL libraries I assume. But swapping can be done simpler I think. For example. var word crc_in var byte crc_in_low at crc_in var byte crc_in_high at crc_in + 1 var word crc_out var byte crc_out_high at crc_out var byte crc_out_low at crc_out + 1 crc

Re: [jallib] CRC16 implementation?

2024-08-06 Thread Rob CJ
Hi Vasile, In the virtual_wire library I do the following CRC calculation. A bit different from yours. -- Calculate new crc over given data. Formula is: -- Xexp16 + Xexp12 + Xexp5 + 1 function _vw_calc_crc(word in crc, byte in data) return word is var word data_2 data = data ^ byte(crc & 0x00f

Re: [jallib] AS5600

2024-06-27 Thread Rob CJ
. thanks again. regards hans Op zaterdag 22 juni 2024 om 15:03:33 UTC+2 schreef Hans van Veldhuizen: Hello Rob, Great, I'll send you a test unit that I used with an Arduino. (Oh dear) regards Hans [AS5600_test.jpg] Op zondag 16 juni 2024 om 08:03:04 UTC+2 schreef Rob CJ: Hi Hans, The AS560

Re: [jallib] AS5600

2024-06-15 Thread Rob CJ
Hi Hans, The AS5600 and AS5600L look the same from a register point of view. I did not find a JAL library for it. I had a quick look at an Arduino Library (this is swearing I know) and it does not seem to be too complex to create one. I could create a JAL library but then you have to send me a

Re: [jallib] Linux executable

2024-05-30 Thread Rob CJ
s dynamic libraries like Qt... but jalv2 does not use such libraries and is easier to compile it statically. But of course, you can try AppImage and decide if is worth the effort. On Mon, May 27, 2024 at 8:25 PM Rob CJ mailto:rob...@hotmail.com>> wrote: Hi Vasi, I did the following te

Re: [jallib] Linux executable

2024-05-27 Thread Rob CJ
nothing to do with glibc. And also, musl has absolutely nothing to do with glibc. Compiling it dynamically, it means it will... but I already explained you why you don't need to create such vulnerability in Linux. On Sun, May 26, 2024 at 11:10 AM Rob CJ mailto:rob...@hotmail.com>> w

Re: [jallib] Linux executable

2024-05-26 Thread Rob CJ
do not get a static version of glibc. So, don't worry, you can compile jalv2 statically, it won't include glibc. You don't need musl, I will look into it, but it is not needed. On Thu, May 23, 2024 at 10:51 PM Rob CJ mailto:rob...@hotmail.com>> wrote: Hi Vasi, I tried this:

Re: [jallib] Linux executable

2024-05-23 Thread Rob CJ
the static version. Any suggestions? Kind regards, Rob Van: jallib@googlegroups.com namens Rob CJ Verzonden: donderdag 23 mei 2024 19:32 Aan: jallib@googlegroups.com Onderwerp: Re: [jallib] Linux executable Hi Vasi, I am no Linux expert (always using Windows

Re: [jallib] Linux executable

2024-05-23 Thread Rob CJ
Van: jallib@googlegroups.com namens vasi vasi Verzonden: woensdag 22 mei 2024 19:43 Aan: jallib@googlegroups.com Onderwerp: Re: [jallib] Linux executable Hi Rob, No problems for me because I recompiled it to be statically linked. On Wed, May 22, 2024 at 8:01 PM Rob CJ

Re: [jallib] Linux executable

2024-05-22 Thread Rob CJ
Hi Vasi, I had problems with GLIBC version 2.29. In order to solve that I recompiled the JAL compiler with an older version of gcc and that solved that issue. I can have a look a linking it statically. Are you - or other JAL users - experiencing problems with the current version (2.5r8) of the

Re: [jallib] Seven segment library

2024-05-06 Thread Rob CJ
chars... Ah, just found the old one I corrected and with some additions... back in 2014.. but it has a different arrangement... As I said, it needs some supervision... On Sun, May 5, 2024 at 11:32 AM Rob CJ mailto:rob...@hotmail.com>> wrote: Hi Vasi, I had a quick look and normall

Re: [jallib] Seven segment library

2024-05-05 Thread Rob CJ
first option) then I can change that. Suggestions are welcome. Kind regards, Rob Van: jallib@googlegroups.com namens Rob CJ Verzonden: zondag 5 mei 2024 07:48 Aan: jallib@googlegroups.com Onderwerp: Re: [jallib] Seven segment library Hi Vasi, Thanks for

Re: [jallib] Seven segment library

2024-05-04 Thread Rob CJ
Hi Vasi, Thanks for reporting is. Since you already fixed it can you give me the exact code change that you made? Ik will upload it for the next build. Thanks Kind regards, Rob Van: jallib@googlegroups.com namens vasi vasi Verzonden: zondag 5 mei 2024 06:3

Re: [jallib] Re: Problem with jallist group

2024-04-23 Thread Rob CJ
Hi David, For some unknown reason your messages are seen as spam and are blocked until I or Matt release them. I have been looking for a fix but could not find it. We could try the following. I could delete you as member and if you then send a message you are added again. Shall we try that? M

Re: [jallib] Assembling

2024-04-16 Thread Rob CJ
Hi Vasi, I think not but you should be able to create a hexfile using the mplabx assembler since the syntax should be correct. Met vriendelijke groet, Rob Jansen From: jallib@googlegroups.com on behalf of vasi vasi Sent: Tuesday, April 16, 2024 11:02:33 AM To

Re: [jallib] PWM modules in PIC16F177* family

2024-04-14 Thread Rob CJ
(jallist or jallib) ) Le vendredi 12 avril 2024 à 19:04:37 UTC+2, Rob CJ a écrit : Hi David, Strange that you are not notified. On Google Groups it says that you would get an e-mail every time something happens. The PWM should work since I tested all your channels except for PWM12 since I do no

Re: [jallib] PWM modules in PIC16F177* family

2024-04-12 Thread Rob CJ
regards, David Le samedi 6 avril 2024 à 19:55:46 UTC+2, Rob CJ a écrit : Hi David, I got it working. The nice thing about these 16-bit PWM's is that each has its own timer register. This means that the frequency can be set for each of these PWM's individually which is not the case for

Re: [jallib] Re: Next release Jallib-1.9.0

2024-04-10 Thread Rob CJ
Hi Matt, The link in this e-mail and the link on the download page are not the same. For the full zip-file the links are as follows: This e-mail: http://www.justanotherlanguage.org/sites/default/files/ftp_server/builds/beta/jallib%20full%20jallib_full-1.9.0beta2.zip Download page: http://just

Re: [jallib] Greenhouse

2024-04-10 Thread Rob CJ
y address 0x00".Maybe the adc library must, as you said before, changed. kind regards Jos Op di 9 apr 2024 om 21:09 schreef jos smans : Hi Rob, Thank you very much for your support. It works excellent. Kind regards Jos Op di 9 apr 2024 om 19:48 schreef Rob CJ : Hi Jos, The problem is in

Re: [jallib] Greenhouse

2024-04-09 Thread Rob CJ
Hi Jos, The problem is in the ADC library. Apparently the 18F4431 has a different way of selecting the ADC channel that I have never seen before. I made a quick fix and added the channel selection for your PIC but to the attached ADC library did not test this so you should give it a try. The co

Re: [jallib] Re: Next release Jallib-1.9.0

2024-04-09 Thread Rob CJ
Hi Matt, I tried that yesterday but it didn’t work. Will try again later today. Met vriendelijke groet, Rob Jansen From: jallib@googlegroups.com on behalf of Matthew Schinkel Sent: Monday, April 8, 2024 9:33:26 PM To: jallib Subject: Re: [jallib] Re: Next rele

Re: [jallib] Re: Next release Jallib-1.9.0

2024-04-08 Thread Rob CJ
Hi Matt, I cannot download the new beta. [cid:469f3ec8-da17-4c1d-b2f0-856f3053cacb] Kind regards, Rob Van: jallib@googlegroups.com namens Matthew Schinkel Verzonden: maandag 8 april 2024 14:02 Aan: jallib Onderwerp: [jallib] Re: Next release Jallib-1.9.0 H

Re: [jallib] PWM modules in PIC16F177* family

2024-04-06 Thread Rob CJ
8 does not have it but I assume it works. Let me know if it works for you too. Thanks Kind regards, Rob Van: jallib@googlegroups.com namens Rob CJ Verzonden: zaterdag 6 april 2024 10:40 Aan: jallib@googlegroups.com Onderwerp: Re: [jallib] PWM modules in

Re: [jallib] PWM modules in PIC16F177* family

2024-04-06 Thread Rob CJ
Hi David, Update. I did a test but it does not yet work for the 16-bit PWM's. I am in the process of getting it working. Will give you an update as soon as I have more info. Kind regards, Rob Van: jallib@googlegroups.com namens Rob CJ Verzonden: vrij

Re: [jallib] PWM modules in PIC16F177* family

2024-04-05 Thread Rob CJ
groups.com namens Rob CJ Verzonden: vrijdag 5 april 2024 18:51 Aan: jallib@googlegroups.com Onderwerp: Re: [jallib] PWM modules in PIC16F177* family Hi David, When I took over the device file generation scripts of Rob Hamerling I also got all his - hundreds - of PIC samples and because of that I

Re: [jallib] PWM modules in PIC16F177* family

2024-04-05 Thread Rob CJ
eeded. Kr, D. Le jeudi 4 avril 2024 à 19:12:22 UTC+2, Rob CJ a écrit : Hi David, In 2022 I added PWM5 and PWM6 like the previous pwm's. What is foreseen is what is requested 🙂 (and there is a need for it). So it can be straight forward to add the 10-bit PWM 9 and PWM 10 but not sure if

Re: [jallib] [Request] I2c_hardware.jal : Option for user-selected bus speed

2024-04-04 Thread Rob CJ
Van: jallib@googlegroups.com namens Rob CJ Verzonden: donderdag 4 april 2024 19:33 Aan: jallib@googlegroups.com Onderwerp: Re: [jallib] [Request] I2c_hardware.jal : Option for user-selected bus speed Hi David, A few suggestions Option 1 Why not add a value for

Re: [jallib] [Request] I2c_hardware.jal : Option for user-selected bus speed

2024-04-04 Thread Rob CJ
Hi David, A few suggestions Option 1 Why not add a value for 50 kHz, although we cannot enter 0.5. Option 2 Or replace the 100 kHz by 50 kHz? So instead of: const _i2c_slowest = 127 -- (40 kHz @ 20 MHz Fosc) Use: const _i2c_slowest = target_clock / 50_000 / 4 - 1 –- 50

Re: [jallib] PWM modules in PIC16F177* family

2024-04-04 Thread Rob CJ
Hi David, In 2022 I added PWM5 and PWM6 like the previous pwm's. What is foreseen is what is requested 🙂 (and there is a need for it). So it can be straight forward to add the 10-bit PWM 9 and PWM 10 but not sure if there is a need for it. For the 16-bit I think we need a complete new library,

Re: [jallib] [Request] "Reset_code" function

2024-04-04 Thread Rob CJ
bject ? Kind regards, David Le vendredi 9 juin 2023 à 19:31:10 UTC+2, Rob CJ a écrit : Hi David, I was wondering what I should do this weekend 🙂. BTW. I am on Holiday - in The Netherlands - and I had a quick look at some PICs and it looks as if it is different for various PICs also from

Re: [jallib] Jallib 1.9.0 Beta is available

2024-04-02 Thread Rob CJ
reason I was interested in that family, but if it unusable outside of MPLABX, then I will pass . I'll keep you posted Kind regards, David Le lundi 1 avril 2024 à 19:12:07 UTC+2, Rob CJ a écrit : Hi David, I can answer that. They are not yet in the release because I did not yet have a

Re: [jallib] Jallib 1.9.0 Beta is available

2024-04-01 Thread Rob CJ
ges. Will they be part of the release of jallib 1.9.0 ? Thanks, Kind regards David Le samedi 30 mars 2024 à 18:49:54 UTC+1, Rob CJ a écrit : Hi Matt, Thanks for adding the compiler. Can you also add the latest i2c_hardware.jal and the last version of the changelog (both were updated yesterday

Re: [jallib] Jallib 1.9.0 Beta is available

2024-03-30 Thread Rob CJ
t, I downloaded the zip file. Seems that the compiler is missing. Kind regards, Rob Van: jal...@googlegroups.com namens Rob CJ Verzonden: zaterdag 30 maart 2024 08:52 Aan: jallib Onderwerp: Re: [jallib] Jallib 1.9.0 Beta is available Hi Matt, This version does no

Re: [jallib] Jallib 1.9.0 Beta is available

2024-03-30 Thread Rob CJ
Hi Matt, I downloaded the zip file. Seems that the compiler is missing. Kind regards, Rob Van: jallib@googlegroups.com namens Rob CJ Verzonden: zaterdag 30 maart 2024 08:52 Aan: jallib Onderwerp: Re: [jallib] Jallib 1.9.0 Beta is available Hi Matt, This

Re: [jallib] Jallib 1.9.0 Beta is available

2024-03-30 Thread Rob CJ
Hi Matt, This version does not yet have the change i2c_hardware.jal version which I uploaded yesterday that solves the issue reportedby David. Maybe I was too late and it missed the release. Is it possible to add this to the final release? Thanks. Kind regards, Rob _

Re: [jallib] i2c_hardware.jal incompatible with pic16f1778 family ?

2024-03-29 Thread Rob CJ
may sound harsh, but it was not my intent my apologies if you felt hurt) Enjoy your week-end, Kind regards, David Le vendredi 29 mars 2024 à 07:22:10 UTC+1, Rob CJ a écrit : Hi David, Found a workaround for the library without breaking anything. Should work and will upload it this

Re: [jallib] i2c_hardware.jal incompatible with pic16f1778 family ?

2024-03-28 Thread Rob CJ
-- Default i2c pins from device file. pin_SCL_direction = input pin_SDA_direction = input end if Kind regards, Rob Van: jallib@googlegroups.com namens Rob CJ Verzonden: donderdag 28 maart 2024 18:51 Aan: jallib@googlegroups.com Onderwerp: Re: [jallib

Re: [jallib] i2c_hardware.jal incompatible with pic16f1778 family ?

2024-03-28 Thread Rob CJ
Hi David, I had never noticed it but you are right. I am not sure if PPS existed when that library was created. There is another thing and that is that library violates with the style guide rules. The style guide states that the user should set the pin direction, not the library (I did not kno

Re: [jallib] Linux Issues

2024-03-10 Thread Rob CJ
Hi Glenn, Thanks for the update. Good to hear that it is working. Have you ever tried Visual Studio Code on Linux? If you download the JAL extension you get very beautiful syntax highlighting and you just invoke the compiler by pressing ctrl-B (build). In case of errors you just ctrl-left-click

Re: [jallib] Re: Linux Issues

2024-02-28 Thread Rob CJ
Hi Andreas, Glenn, I think Andreas is right. It seems that the compiler cannot find the device file for your PIC (in the lib directory) and so adding that path with the -s option should fix it. Welcome back Glenn and good luck getting started again. Kind regards, Rob

Re: [jallib] Format.jal warning

2024-01-01 Thread Rob CJ
ands... let me first do some examples from the jallib folder and let's build up again the jal technoligy ;-) keep you posted , Br, Patrick Op maandag 1 januari 2024 om 10:04:59 UTC+1 schreef Rob CJ: Hi Patrick, Good luck and welcome back to JAL. And of course a Happy New Year to you

Re: [jallib] Format.jal warning

2024-01-01 Thread Rob CJ
] Format.jal warning Hi Rob, Thanks for your feedback, let me download the last jallib release first, and will see what happen. Br, Patrick Op zondag 31 december 2023 om 17:02:38 UTC+1 schreef Rob CJ: Hoi Patrick, Je kunt beter je vraag in het Engels stellen (you better ask your questions in

Re: [jallib] Format.jal warning

2023-12-31 Thread Rob CJ
Hoi Patrick, Je kunt beter je vraag in het Engels stellen (you better ask your questions in English). Je geeft te weinig informatie om antwoord te geven op jouw vraag. We ondersteunen niet de Bert libraries maar alleen die van Jallib. Misschien handig om de laatste Jallib release te downloaden

Re: [jallib] Camera_Gimbal

2023-11-12 Thread Rob CJ
instead of A0 and A1. regards hans Op zaterdag 11 november 2023 om 17:02:34 UTC+1 schreef Rob CJ: Hi Hans, I think you can. Is has sufficient ROM and RAM and a SPI interface. Kind regards, Rob Van: jal...@googlegroups.com namens Hans van Veldhuizen Verzonden: zater

Re: [jallib] Camera_Gimbal

2023-11-11 Thread Rob CJ
Rob, It has to do with the pin A2. If i change it to C2 the both are working Op zaterdag 4 november 2023 om 07:56:20 UTC+1 schreef Rob CJ: Hi Hans, The only difference that I see is the looptime. Instead of 1 second it is 1 ms but it depends on how fast the data is received. If that is to

Re: [jallib] Re: 18f4431 problems

2023-11-06 Thread Rob CJ
Hi Peter, If you use the Pickit3 software when the pickit programmer is in mplax mode, it will mention that. As far as I know it will not give the programming error that was described by Jos. Met vriendelijke groet, Rob Jansen From: jallib@googlegroups.com on

Re: [jallib] 18f4431 problems

2023-11-06 Thread Rob CJ
Hi Jos, The PICKitplus software is software you need to purchase. If you use a newer PIC you need it. Your PIC is not so new so it should be possible to program it with the old PICKit software. Even with PICKitplus I got sometimes the same error that you mentioned. I have two Chinese copies of

Re: [jallib] Camera_Gimbal

2023-11-03 Thread Rob CJ
original forever loop then just servo 2 moves. Changed servo's same result forever loop servo_move(60,1) servo_move(60,2) delay_1S(2) servo_move(150,1) servo_move(150,2) delay_1S(2) end loop Op vrijdag 3 november 2023 om 19:11:13 UTC+1 schreef Rob CJ: Hi Hans, I cannot see any errors. So the

Re: [jallib] Camera_Gimbal

2023-11-03 Thread Rob CJ
Hi Hans, I cannot see any errors. So the data is received correctly but the servo's do not work? Have you tried to get the servo's working without the receive routines? So just hard-code some values to see if the servo's are working? Kind regards, Rob Van:

Re: Re: [jallib] English (function) question

2023-09-30 Thread Rob CJ
d is enough :-) Greets, Kiste Gesendet von Yahoo Mail auf Android<https://mail.onelink.me/107872968?pid=nativeplacement&c=Global_Acquisition_YMktg_315_Internal_EmailSignature&af_sub1=Acquisition&af_sub2=Global_YMktg&af_sub3=&af_sub4=10604&af_sub5=EmailSignature__Stat

Re: [jallib] English (function) question

2023-09-30 Thread Rob CJ
micrometers, a dword would suffice for a range of over 4 kilometers, still by a smaller overhead than using a float. Greets, Kiste Am Samstag, 30. September 2023 um 11:11:37 MESZ hat Rob CJ Folgendes geschrieben: Hi Vasile, Thanks 🙂 I just came up with another idea. Using a float value make

Re: [jallib] English (function) question

2023-09-30 Thread Rob CJ
Hi Vasile, Thanks 🙂 I just came up with another idea. Using a float value makes the library big in ROM size (it easily adds 600 byte of ROM or more) and I only need one decimal. So I have another idea and that is return the distance in mm. In that case I only need a word as return value. So n

Re: [jallib] DAIKIN REMOTE

2023-09-04 Thread Rob CJ
stions and comments are increasingly simply deleted. Op maandag 4 september 2023 om 15:09:15 UTC+2 schreef Rob CJ: Hi all, Yes, recently I purchased this logic analyzer. In combination with the software it is really handy. I solved some IIC problems with it. And for Hans. I ported the sample pr

Re: [jallib] DAIKIN REMOTE

2023-09-04 Thread Rob CJ
signal generator and component tester There are several videos on YouTube that you can search for, and it is available from Elektor, Amazon, AliExpress etc Hope this helps Le dimanche 3 septembre 2023 à 19:23:27 UTC+2, Rob CJ a écrit : Hi Hans, Your plan is to send Daikin commands to

Re: [jallib] Pic_program_eeprom.jal

2023-09-03 Thread Rob CJ
Hi all, Sorry for the Dutch. I thought that Hans e-mailed me directly. Kind regards, Rob Van: jallib@googlegroups.com namens Rob CJ Verzonden: maandag 4 september 2023 08:04 Aan: jallib Onderwerp: Re: [jallib] Pic_program_eeprom.jal Hoi Hans, Dat bestand

Re: [jallib] Pic_program_eeprom.jal

2023-09-03 Thread Rob CJ
Hoi Hans, Dat bestand heet nu pic_data_eeprom.jal. Groetjes, Rob Van: jallib@googlegroups.com namens hans Verzonden: zondag 3 september 2023 19:29 Aan: jallib Onderwerp: [jallib] Pic_program_eeprom.jal Hi, In my last search I wanted to use this lib. I had t

Re: [jallib] DAIKIN REMOTE

2023-09-03 Thread Rob CJ
unit I made. But only to switch the heating on and off in time. Because my sight is getting less and less, I was dreading working this way again. Unfortunately, I didn't manage to get the series of zeros and ones right on my screen. regards Hans Op zondag 3 september 2023 om 19:23:27 UTC+2

Re: [jallib] DAIKIN REMOTE

2023-09-03 Thread Rob CJ
ugustus 2023 om 18:48:01 UTC+2 schreef Rob CJ: Hi Hans, What you could do is modify the NEC decoder library and change the bit times and the number of bits. Since you know which bit time is 1 and which is 0 this should be douable. The NEC prototol also starts with a pulse more or less the sa

Re: [jallib] DAIKIN REMOTE

2023-08-31 Thread Rob CJ
n get further. regards Hans Op dinsdag 29 augustus 2023 om 18:43:48 UTC+2 schreef Rob CJ: Hi Hans, What I see on Internet about the Daikin protocol is that the message length is not always the same and that is not the same as the NEC protocol which has a fixed length. But I may be wrong. I at

Re: [jallib] DAIKIN REMOTE

2023-08-29 Thread Rob CJ
read those bits concatenated into bytes I have no idea how I would go about doing that. regards Hans Op maandag 28 augustus 2023 om 19:04:20 UTC+2 schreef Rob CJ: Hi Hans, Maybe look on the internet if people already figured this out. I saw there is some info there but not sure if that is the in

Re: [jallib] Re: Releasing untested device files

2023-08-28 Thread Rob CJ
Hi Evan, An update about his issue after e-mailing with Microchip and a lot of waiting. I made a mistake in ordering free samples. I selected a PIC for which there where no free samples available. Normally you get this special icon that you need to click to order free samples. If the icon is n

Re: [jallib] DAIKIN REMOTE

2023-08-28 Thread Rob CJ
Hi Hans, Maybe look on the internet if people already figured this out. I saw there is some info there but not sure if that is the info you are looking for. BTW. A tip for your program. You are declaring an array with constant values as var. You can save RAM memory by defining the array as cons

Re: [jallib] IF statement fails

2023-08-20 Thread Rob CJ
ld I use? Is there a chance to use a simulator to run the code and print the output via serial interface? That we are hardware independend and could ompare our results more easyly. Best Regards, Andreas On Sunday, August 20, 2023 at 10:49:11 AM UTC+2 Rob CJ wrote: Hi Andreas, I made this test progr

Re: [jallib] IF statement fails

2023-08-20 Thread Rob CJ
u explain this? Thanks. Kind regards, Rob Van: jallib@googlegroups.com namens Rob CJ Verzonden: vrijdag 18 augustus 2023 22:02 Aan: jallib@googlegroups.com Onderwerp: Re: [jallib] IF statement fails Hi Andreas, Vasile, The reason I think it is an optimization issue is be

Re: [jallib] IF statement fails

2023-08-18 Thread Rob CJ
variable-reuse" from the compiler call to see if there is a different: No it is not, but good idea! Best Regards, Andreas On Friday, August 18, 2023 at 1:45:42 PM UTC+2 vsurducan wrote: Hi Rob, I think it's about disabling reusing variable space and not about expression reduction.

Re: [jallib] IF statement fails

2023-08-17 Thread Rob CJ
s On Thursday, August 17, 2023 at 10:29:51 PM UTC+2 Rob CJ wrote: Hi Andreas, It might be a optimization issues. Can you add the following to your program and test if the problem is gone?  pragma opt expr_reduce no It will disable code optimization. Thanks. Kind regards, Rob ___

Re: [jallib] IF statement fails

2023-08-17 Thread Rob CJ
the last years :-) On Thursday, August 17, 2023 at 9:31:13 PM UTC+2 Rob CJ wrote: Hi Andreas, I had a quick look at the generated assemble code for a PIC16. In your first code example the code is (I changed 3 times i into i, j and k so I could compile it): ; 10 i=test1()

Re: [jallib] IF statement fails

2023-08-17 Thread Rob CJ
ent fails Hello Rob, PIC is a 18f26K83 compiler called with: ../jalv25r7/compiler/jalv2-x86-64 -no-variable-reuse no other specific setting Thanks, Andreas On Thursday, August 17, 2023 at 9:00:33 PM UTC+2 Rob CJ wrote: Hi, For which PIC did you compile this? 12, 16, 18? Did you use any compiler

Re: [jallib] IF statement fails

2023-08-17 Thread Rob CJ
Hi, For which PIC did you compile this? 12, 16, 18? Did you use any compiler optimizations? Thanks. Kind regards, Rob Van: 'off...@schloegl-software.at' via jallib Verzonden: woensdag 16 augustus 2023 22:18 Aan: jallib Onderwerp: [jallib] IF statement fails

Re: [jallib] bee packages

2023-07-06 Thread Rob CJ
Hi Rob, Due to a compiler issue the samples do not compile and so a bee-package is not created. The latest version of the compiler is not automatically picked up on Kyle's server. Matt is working on creating the bee-packages on his server. Work in progress. I asked Kyle if he could manually i

Re: [jallib] Releasing untested device files

2023-06-29 Thread Rob CJ
.. On Tue 27 Jun 2023, 9:13 PM Rob CJ, mailto:rob...@hotmail.com>> wrote: Hi David, Why not use the syntax highlighting in Visual Studio Code using the JAL extension made by Sunish? VS Code is free. Looks very nice (and I find VS Code a very nice editor since you can easily spilt a JAL fi

Re: [jallib] Releasing untested device files

2023-06-27 Thread Rob CJ
Hi David, Why not use the syntax highlighting in Visual Studio Code using the JAL extension made by Sunish? VS Code is free. Looks very nice (and I find VS Code a very nice editor since you can easily spilt a JAL file and edit in 2 windows at the same time) and it works on Windows, Linux and M

Re: [jallib] Releasing untested device files

2023-06-27 Thread Rob CJ
er for me and save you a lot of time answering my nagging . regards Hans Op dinsdag 27 juni 2023 om 10:16:55 UTC+2 schreef Rob CJ: Hi Oliver, Nice suggestion. I could adapt the Python script that creates the device file to add a list of untested device files and add a compiler warning t

Re: [jallib] Releasing untested device files

2023-06-27 Thread Rob CJ
Hi Oliver, Nice suggestion. I could adapt the Python script that creates the device file to add a list of untested device files and add a compiler warning to these device files. There is one thing I am not sure about. Normally all samples are validated and build when something changes and when

Re: [jallib] r 4x64-LED-Matrix-Screen-Modul

2023-06-25 Thread Rob CJ
Hi Hans, According to your info it uses a MAX7219. There is a JAL library for that display made by Rob Hamerling. Since there are more displays I think you need to use the library max2719_n where you can define the number of modules with n. So give it a try 🙂. Kind regards, Rob

Re: [jallib] AS5600

2023-06-25 Thread Rob CJ
Hi Hans, Very nice project! Kind regards, Rob Van: jallib@googlegroups.com namens hans Verzonden: zaterdag 24 juni 2023 18:56 Aan: jallib Onderwerp: Re: [jallib] AS5600 Hello all, In the meantime I have my wind set working with the AS5600. I had some proble

Re: [jallib] Software PWM

2023-06-21 Thread Rob CJ
erwise, maybe you could get rid of the "pwm_period = PWM_PERIOD_TIME" line, isn't it ? All in all, those two answers are food for thoughts, and I will certainly take your good advices. Thanks for that ! Le mercredi 21 juin 2023 à 07:59:57 UTC+2, Rob CJ a écrit : Hi David, Oliver,

Re: [jallib] Software PWM

2023-06-20 Thread Rob CJ
Hi David, Oliver, What should be the resolution of the PWM? I sometimes made it in software using one timer and controlling several LEDS. In the example below I control one LED using 128 steps (step increment of 2 (STEP_BRIGHT)) but can be extended with more LEDs. Would that be sufficient for y

Re: [jallib] Peripheral hardware and interrupts

2023-06-02 Thread Rob CJ
C hardware registers directly without a call to any other - common - routine. Kind regards, Rob Van: jallib@googlegroups.com namens Rob CJ Verzonden: donderdag 1 juni 2023 21:01 Aan: jallib@googlegroups.com Onderwerp: Re: [jallib] Peripheral hardware and inte

Re: [jallib] Peripheral hardware and interrupts

2023-06-01 Thread Rob CJ
Hi Vasile, Good suggestion. I will give it a try. Thanks. Kind regards, Rob Van: jallib@googlegroups.com namens vsurducan Verzonden: donderdag 1 juni 2023 20:58 Aan: jallib@googlegroups.com Onderwerp: Re: [jallib] Peripheral hardware and interrupts Hi Rob,

Re: [jallib] [jallib build] buildbot failure in jallib on jallib-bee

2023-05-30 Thread Rob CJ
Hi Vasile, Are you refering to the problem with the Linux compiler I posted? I found this page about the subject you mentioned (never heard of it btw): https://wiki.musl-libc.org/building-llvm.html It does not seem an easy task to do. About the Linux compiler. I had compiled it with gcc versio

Re: [jallib] Re: 16F15325 blink a led

2023-04-22 Thread Rob CJ
t……(wouter said once) …. A nightmare. May you all just solve this WOW Op zaterdag 22 april 2023 om 16:00:03 UTC+2 schreef Rob CJ: Hi Hans, There are two issues: 1. ADCON1_ADNPREF does not exist so should be removed. 2. The adc library assumes a register called ADCON0_GO b

Re: [jallib] Re: 16F15325 blink a led

2023-04-22 Thread Rob CJ
Hi Hans, There are two issues: 1. ADCON1_ADNPREF does not exist so should be removed. 2. The adc library assumes a register called ADCON0_GO but it is called ADCON0_GONDONE for this chip. I added an alias to solve that (will also fix it in the adc library. So this code compiles. -- Step

Re: [jallib] missing devicefile for 16F18075.jal

2023-04-12 Thread Rob CJ
rch 28, 2023 at 2:19:43 PM UTC+2 Rob CJ wrote: Hi, That device file is not yet released since it was not tested yet. You can give it a try, see attached device file. I assume it works since I did not encounter any problems over the last year. I am curretly using an 16F18076 without problems in the

Re: [jallib] Device file for PIC16F17156

2023-04-10 Thread Rob CJ
. Does anyone know of a simplier way to enter criteria to search for a suitable part ? Have a nice day Le 10-04-23 à 18:58, Rob CJ a écrit : Hi David, As soon as the devices is part of MPLABX I can create a device file. Since it is not yet available in MPLABX 6.05 I also did not yet order a

Re: [jallib] Device file for PIC16F17156

2023-04-10 Thread Rob CJ
Hi David, As soon as the devices is part of MPLABX I can create a device file. Since it is not yet available in MPLABX 6.05 I also did not yet order a sample for testing. When a new version of MPLABX is out where and that device is in, I can send you an untested device file. I do not know whe

Re: [jallib] missing devicefile for 16F18075.jal

2023-04-02 Thread Rob CJ
with it in a few days. Thanks for the superfast response! Andreas On Tuesday, March 28, 2023 at 2:19:43 PM UTC+2 Rob CJ wrote: Hi, That device file is not yet released since it was not tested yet. You can give it a try, see attached device file. I assume it works since I did not encounter an

Re: [jallib] Re: problem with filling a sector buffer

2023-03-23 Thread Rob CJ
Hi Peter, In general it is recommended to put a 100 nF capacitors close to every IC that you use for correct operation. It might have been the cause of your issue. Kind regards, Rob Van: jallib@googlegroups.com namens ZetWeeh Verzonden: zondag 19 maart 2023

Re: [jallib] double LCD

2023-02-16 Thread Rob CJ
Hi Hans, Not sure if I understand you correctly but you have 2 enable pins, 1 for each display. Why do you want to change the alias of a pin? Why not just use the 2 pins and use 2 aliases? I do not understand the difference between changing aliases and changing pins. Can you explain it in more

Re: [jallib] interrupt on change 12F1840

2023-02-04 Thread Rob CJ
y. It was not tested, I leave that up to you. Kind regards, Rob Van: jal...@googlegroups.com namens Rob CJ Verzonden: zaterdag 28 januari 2023 16:46 Aan: jal...@googlegroups.com Onderwerp: Re: [jallib] interrupt on change 12F1840 Hi Hans, I had a look a

Re: [jallib] interrupt on change 12F1840

2023-01-31 Thread Rob CJ
maybe someone else has a brilliant idea. Attached your program version that compiles and not using the library. It was not tested, I leave that up to you. Kind regards, Rob Van: jal...@googlegroups.com namens Rob CJ Verzonden: zaterdag 28 januari 2023 16:46

Re: [jallib] interrupt on change 12F1840

2023-01-28 Thread Rob CJ
someone else has a brilliant idea. Attached your program version that compiles and not using the library. It was not tested, I leave that up to you. Kind regards, Rob Van: jal...@googlegroups.com namens Rob CJ Verzonden: zaterdag 28 januari 2023 16:46 Aan: jal

Re: [jallib] interrupt on change 12F1840

2023-01-28 Thread Rob CJ
to you. Kind regards, Rob Van: jallib@googlegroups.com namens Rob CJ Verzonden: zaterdag 28 januari 2023 16:46 Aan: jallib@googlegroups.com Onderwerp: Re: [jallib] interrupt on change 12F1840 Hi Hans, I had a look at the library but with the current set-up I

Re: [jallib] interrupt on change 12F1840

2023-01-28 Thread Rob CJ
Van: jallib@googlegroups.com namens Rob CJ Verzonden: zaterdag 28 januari 2023 15:00 Aan: jallib@googlegroups.com Onderwerp: Re: [jallib] interrupt on change 12F1840 Hi Hans, I saw indeed that the library supports only port b. It can be fixed with aliases to also support port a but

Re: [jallib] interrupt on change 12F1840

2023-01-28 Thread Rob CJ
Hi Hans, Did you check the interrupt on change sample file? Kind regards, Rob Van: jallib@googlegroups.com namens hans Verzonden: zaterdag 28 januari 2023 10:05 Aan: jallib Onderwerp: [jallib] interrupt on change 12F1840 Hello all, I would like to apply an

Re: [jallib] PIC Simulator (free software)

2023-01-26 Thread Rob CJ
Hi Vasile, Hi have played with this one but it is not free: https://oshonsoft.com/pic.php [https://www.oshonsoft.com/picscreenshot2.png] OshonSoft PIC Simulator IDE with PIC Basic Compiler PIC SIMULATOR IDE (with pic basic compiler) HO

Re: [jallib] Jallib - 1.7 Beta

2023-01-20 Thread Rob CJ
Hi Vasile, Note that these are items that are on GitHub and are not yet part of the release. Some because e.g. the device could not yet be tested or samples are not yet available. The contents of the items which will be part of the new release are in the Changelog (see attachment) 🙂. These it

Re: [jallib] 12F1840 sample ADC and usart

2023-01-17 Thread Rob CJ
Hi Hans, Step 2 and step 3 should change: -- Step 2: Set VDD as Vref ADCON1_ADPREF = 0b00 -- Step 3: Use Frc as ADC clock ADCON1_ADCS = 0b011 I hope this works. Kind regards, Rob Van: jallib@googlegroups.com namens hans Verzonden: dinsdag 17 januari 2023 17

Re: [jallib] Jallib - 1.7 Beta

2023-01-16 Thread Rob CJ
Hi Matt, I will run the script and if needed I will update TORELEASE. Kind regards, Rob Van: jallib@googlegroups.com namens Matthew Schinkel Verzonden: maandag 16 januari 2023 03:09 Aan: jallib Onderwerp: [jallib] Jallib - 1.7 Beta Hi Everyone, It's time fo

  1   2   3   4   5   >