Activity for Urs Hopp

  • Urs Hopp Urs Hopp posted a comment on discussion Open Discussion

    Thank you very much. That's exactly what I was looking for.

  • Urs Hopp Urs Hopp posted a comment on discussion Open Discussion

    Is there a list of all reserved keywords in GCB?

  • Urs Hopp Urs Hopp posted a comment on discussion Open Discussion

    @Chris You're right, that's the problem! There are only byte-type arrays. But, when I define: DIM Result(5) as word this is compiled without warning or error message. This is not good. Here an error message should be displayed. This is the problem understood, but somewhat unsatisfactory solved.

  • Urs Hopp Urs Hopp posted a comment on discussion Open Discussion

    How can I access the H-Byte of an entry in a array from type WORD? I want to store the two result registers from ADC: ADRESH and ADRESL into a WORD array. If I write: ADResult(i) = ADRES that does not work because you can not address ADRES as word. If I write: ADResult_H(i) = ADRESH ADResult(i) = ADRESL does not work: ADResult_H(i) = ADRESH. The compiler reports that "ADResult_H(i)" are not defined. working is only the L-Byte: ADResult(i) = ADRESL

  • Urs Hopp Urs Hopp posted a comment on discussion Open Discussion

    @Anobium Great! But where can I find this video?

  • Urs Hopp Urs Hopp posted a comment on discussion Open Discussion

    @ Chris Thank you for your answer. You're right, I could use this command. But this command needs a lot of memory space. This command takes 110 Word more space than my version: ADCON1.7 = 1 'RIGHT justified, 10-bit using ADCON0 = ChannelYo 'set channel = Yo wait 20 us BSF ADCON0,1 'conversion starten BTFSC ADCON0,1 'check: conversion done? GOTO $-1 'wait for done nYoben0_H = ADRESH 'store the result nYoben0 = ADRESL Because my storage space is tight, I have to save.

  • Urs Hopp Urs Hopp posted a comment on discussion Open Discussion

    I use the PIC 16F1779. In this uP it has a 10-bit ADC. The value of a conversion is stored in two registers ADRESH and ADRESL. Why can I not access these registers as word? I mean the following: DIM nYoben0 as Word alias nYoben0H, nYoben0L nYoben0H = ADRESH nYoben0L = ADRESL is not the same as: nYoben0 = ADRES The assembler translates the first case like this: ;nYoben0H = ADRESH banksel ADRESH movf ADRESH,W banksel NYOBEN0H movwf NYOBEN0H ;nYoben0L = ADRESL banksel ADRESL movf ADRESL,W banksel NYOBEN0L...

  • Urs Hopp Urs Hopp posted a comment on discussion Open Discussion

    OK. But how I do that? If I use MPLAB-X, I write the program in c. But I wrote the program in GCB. Which files do I have to load in MPLAB-X and how do I do that? I do not understand how GCB and MPLAB-X work together Is there perhaps a step by step guide for it? As hardware I have an ICD3 and a PICkit3 available.

  • Urs Hopp Urs Hopp posted a comment on discussion Open Discussion

    How I can debugging software written in GCB? Is there a circuit debugger?

  • Urs Hopp Urs Hopp posted a comment on discussion PicKitPlus Application

    Hi Microchip’s PICkit™ 2 and PICkit™ 3 are obsolet. Does PicKitPlus also works with the newest PICkit™ 4 ?

  • Urs Hopp Urs Hopp posted a comment on discussion Help

    I need a Tiny214 processor, but there is no * .dat file. I've read that you can do this also file itself. But it needs four things: 1.PreProcess.bat 2.CriticalChanges.txt 3.Chipdata.cvs 4.getchipdata.exe where can I get these things?

1
MongoDB Logo MongoDB
Gen AI apps are built with MongoDB Atlas
Atlas offers built-in vector search and global availability across 125+ regions. Start building AI apps faster, all in one place.
Try Free →