I would say, that for relatively simple coding routines, PBP knowledge of AI had been improved, but just when you ask something more complex, you'll get this:
can you create picbasic pro code...
Type: Posts; User: CuriousOne; Keyword(s):
I would say, that for relatively simple coding routines, PBP knowledge of AI had been improved, but just when you ask something more complex, you'll get this:
can you create picbasic pro code...
So this IC can't be used with PBP ?
Does manual say anywhere that it won't ?
Yes I know it is not legitimate, but compiler does not give any errors or warning, so it is not a bug, it is a feature?
and I don't see any issues with IC address - it is done according to datasheet.
No, this is ADS1115, as mentioned in comments in above post.
I understand this as "start conversion(measurement)"
As said in 2. of quote from the datasheet.
Well, I tried that code and even after fixing syntax, it does not work.
By the way, I tried to do my own code for that chip, but that also does not work - returns 64 for MSB and LSB bytes. The...
Yes, correct.
I have seen that with my own eyes - student asked to write a frequency meter code for arduino, she only specified that 4 digit, 7 segment display module was connected to the specified...
Well, at least, above code is more manageable, and only two areas need to be fixed - MAKEWORD and floating point math. I'll fix that code tomorrow, compile it and give a try on a real hardware :)
I told him that he's using GCbasic syntax instead of PBP, and asked to fix it.
While he (she, it?) is no longer using GCBasic style subroutine calls, it now uses some C++ syntax :D
'...
I checked, that is Great Cow Basic syntax :)
I finally give it some try, but the code does not looks like a picbasic? It seems like it is using a different syntax to call subroutines? (can't verify right now, do not have PBP on this PC)
...
Thanks, but there's no code in #4?
So if output is 11, then it will be 3+3+3+2
8=3+3+2
9=3+3+3
10+3+3+3+1
11=3+3+3+2
12=3+3+3+3
But these are sub-routines, which already include other statement, s so 3 here is actually doing...
Yes my code looks like that :D
Priority I mean 10 can be achieved with 1+1+1+1+1+1+1+1+1+1 combo, but I need it to be done with 3+3+3+1
So I need a formula which will break down the incoming...
I need somehow to break down the incoming number into 3s 2s and 1s, and giving them priority....
Hello.
I have some code, which, based on value of the X variable (changes from 1 to 30)
Should call some GOSUBs as shown below:
IF X=1 THEN GOSUB ONE
IF X=2 THEN GOSUB ONE: GOSUB TWO
IF...
And by the way, I don't see any reasons, why you can't write GLCD (which can't save file on windows 10-11) generated or any other software generated font into external EEPROM.
So expensive :)
I'm buying 2nd hand 886 and 1829 for about 50 and 90 cents in China :)
Since I'm not doing anything commercial, this is just fine for me.
Hello.
I have a LED clock module, uses some chinese 8051 clone. The issue is, it has no contro button, so always starts at 00:00. But it do has RX and TX pins. There's no activity on these pins when...
This is very interesting thread, giving me some hope that I will be able to use OLED screens with PBP one day, but I have a quesiton - 24C64 or something like that costs under $1. Why not use it for...
Yes, correct.
I tried to make this code respond faster, by changing the pause value from 1000 to 100 (works fine), but when I change it from 100 to 10, now it improperly detects half of the...
Fixed. Just dumped raw value of what is written BtnVal and it is either around 80 or 110, so I modified the code and now it works!
But why so low values? due to slower PIC ?
Hello.
I found this thread https://www.picbasic.co.uk/forum/showthread.php/15368-NEC-IR-Protocol-remote-decoder-help-me-before-I-kill-myself!
But it is closed, so I can't answer there.
I've used...
No it is not obvious, because it takes DIFFERENT times on each iteration of GOTO statement.