Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: richard; Keyword(s):

Page 1 of 4 1 2 3 4

Search: Search took 0.03 seconds.

  1. Re: Replacing array member on the fly (big LCD characters idea)

    the font you depict has 22 "shapes" that i can see, the display can hold only eight user defined [cga ram] shapes at any one time

    try to show this

    8966
  2. Re: Replacing array member on the fly (big LCD characters idea)

    But can it show the time or date or anything else but the one digit ?

    if you really want big chr's on that size display get a 122x32 graphical job
  3. Re: Warning 202 Argument out of range. Least significant bits used

    the problem is not the macro, you are attempting to hserout a constant that is too big for it to swallow.
    somewhere in those 6200 lines of code is an attempt to hserout an constant type item who's...
  4. Replies
    9
    Views
    408

    Re: INA219 conversion time

    that is the trigger
    in continuous mode the end of conversion triggers the next conversion
    any other mode (single conversion) waits for user to retrigger it
  5. Replies
    9
    Views
    408

    Re: INA219 conversion time

    Does that mean you take a new "reading" every 150 ms ?

    in free run mode yes ,the "read" you get is the latest available

    in free run i don't see it has any useful function



    set the config...
  6. Replies
    9
    Views
    408

    Re: INA219 conversion time

    detail is scant, lets start with
    how often are these corrections applied and feedback samples taken ?
    why are you thinking the free running, continuously available 128 sample averaged results are...
  7. Replies
    9
    Views
    408

    Re: INA219 conversion time

    you have set the device to continuous conversion mode , the conversion process did not begin when you set "SPARE_PIN and read the bus voltage"
    you don't know when it started. i don't believe you are...
  8. Re: How is this data being formed from the values given?

    there's few things the arduino community have not hacked into if its at all possible
    a google search for "arduino & 'my secret unmentionable device' " might yield some results
  9. Replies
    5
    Views
    460

    Re: Any elegant way of text string handling?

    there are many ways that have be discussed on this forum over the years

    try a forum search "embedded string" or "null terminated"
  10. Re: Read state of specific bit (i.ex. of a PORT)

    yes absolutely
    result equals the low nibble of portb as read, the high nibble is masked off
  11. Re: Read state of specific bit (i.ex. of a PORT)

    if key active high

    WHILE PORTB >15 : WEND

    or

    WHILE (PORTB&$f0) : WEND


    or if active low
  12. Replies
    6
    Views
    507

    Re: Supress "MSG" in compile

    mpasm has three errorlevels 0,1,2 numbered error messages can be supressed -306 -302 etc
    the user messages seem difficult to suppress and the (num) is line number so of no use in suppression
    ...
  13. Replies
    6
    Views
    507

    Re: Supress "MSG" in compile

    -486 and -487 ?

    or edit
    \DEVICES\PIC16F18324.PBPINC
    and comment out the messages
  14. Thread: BME280 sensor.

    by richard
    Replies
    19
    Views
    2,160

    Re: BME280 sensor.

    seems possible , the fact that the bmp ver is less "hot" tallies with its lower power use [hum sensor nearly doubles the consumption]

    my esp code uses forced mode letting it sleep between...
  15. Thread: BME280 sensor.

    by richard
    Replies
    19
    Views
    2,160

    Re: BME280 sensor.

    did that , even though i have had the boards for 2 months or more , got a full refund within a couple of hours.
    quite surprised in a good way
  16. Thread: BME280 sensor.

    by richard
    Replies
    19
    Views
    2,160

    Re: BME280 sensor.

    henrik
    i made a little change

    used this style
    IF P2.15 = 1 THEN
    p2.highWORD = 65535
    ENDIF

    for all the casts to long , it saves a worthwhile bit of code space
  17. Thread: BME280 sensor.

    by richard
    Replies
    19
    Views
    2,160

    Re: BME280 sensor.

    excellent work henrik, way better than my fp attempt [nearly 10k in size] to get a result.
    i confirm it gets same results temp and pressure wise as arduino calcs for same input data
    not tried hum...
  18. Thread: BME280 sensor.

    by richard
    Replies
    19
    Views
    2,160

    Re: BME280 sensor.

    nah, pbp needs a signed shift right command too. too hard me thinks. pic chip in bin, esp wins
  19. Thread: BME280 sensor.

    by richard
    Replies
    19
    Views
    2,160

    Re: BME280 sensor.

    sorry no, i never actually used pbp for these sensors after discovering the real potential of esp chips


    if the upper word was set appropriately here maybe that would help , adc_t might need...
  20. Replies
    10
    Views
    1,361

    Re: Erroneous mathematical processing?

    Thanks tumbleweed

    Troy try this




    '/*******************************************************************************
    ' TRIG.inc for ALL PIC18's with or without longs...
  21. Replies
    10
    Views
    1,361

    Re: Erroneous mathematical processing?

    maybe a config issue , there is not much i can see that would not work in the asm stuff unless the 8x8 mult works differently


    you could try this , clutching at straws
    the code just assumes...
  22. Replies
    4
    Views
    679

    Re: Power Saving on 16f628

    wake on serial input example, you would need to add code to eliminate floating inputs and disable unused "modules" to get the
    absolute minimum power use.


    this wakes on any serial input and...
  23. Replies
    10
    Views
    1,361

    Re: Erroneous mathematical processing?

    i don't have one of those chips or the ability to sim it either but for a start

    rather than trying to cram those extra vars into bank0 {unnecessarily} i would modify the include this way
    for...
  24. Replies
    10
    Views
    1,361

    Re: Erroneous mathematical processing?

    if thats not just a comment then start here
  25. Thread: BME280 sensor.

    by richard
    Replies
    19
    Views
    2,160

    Re: BME280 sensor.

    henrik here is a json dump from my nodemcu/bme280 regs from 0x80 to 0xff
    ...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4