Activity for lhatch

  • lhatch lhatch posted a comment on discussion Open Discussion

    I have not looked at the asm for ESP32, but it is quite the chip. I now the Arduino IDE has a model for it, Anyone thought about porting GCB to if it is microchip or AVR like inside? I do not like C, but have been using it with the ArduinoIDE just to play with the chip. Cheap, lots of i/o, wifi, blue tooth...

  • lhatch lhatch modified a comment on discussion Help

    I took parts of code and made the below program. The LCD shows > 13 on the screen. Temp is 13 for some reason, and if I jumper (no keypad yet) D7 to D8 still 13 on display? Any ideas #chip mega328p, 16 #include <UNO_mega328p.h> HI2CMode Master #define HI2C_DATA #define LCD_IO 10 #define LCD_I2C_Address 0x4e '// Change to 0xFE for SainSmart ELSE 4E #define LCD_Backlight_On_State 1 '// These may need to be reversed #define LCD_Backlight_Off_State 0 #define KEYPAD_ROW_1 DIGITAL_11 #define KEYPAD_ROW_2...

  • lhatch lhatch posted a comment on discussion Help

    4.7K pull-up seems to have done the trick. Thanks Will have keypads today and give the real test.

  • lhatch lhatch posted a comment on discussion Help

    OK, another question. Anyhone have a 3x4 or 4x4 routine? None of the info mentioned pull up or down on anything, So I pulled from the examples and jumped D7 and D8

  • lhatch lhatch posted a comment on discussion Help

    I took parts of code and made the below program. The LCD shows > 13 on the screen. Temp is 13 for some reason, and if I jumper (no keypad yet) D7 to D8 still 13 on display? Any ideas #chip mega328p, 16 #include <UNO_mega328p.h> HI2CMode Master #define HI2C_DATA #define LCD_IO 10 #define LCD_I2C_Address 0x4e '// Change to 0xFE for SainSmart ELSE 4E #define LCD_Backlight_On_State 1 '// These may need to be reversed #define LCD_Backlight_Off_State 0 #define KEYPAD_ROW_1 DIGITAL_11 #define KEYPAD_ROW_2...

  • lhatch lhatch posted a comment on discussion Help

    The below code displays > 13 on the LCD I jumper D7 and 8 and no change as well. Any ideas? ~~~ #chip mega328p, 16 #include <UNO_mega328p.h> HI2CMode Master #define HI2C_DATA #define LCD_IO 10 #define LCD_I2C_Address 0x4e '// Change to 0xFE for SainSmart ELSE 4E #define LCD_Backlight_On_State 1 '// These may need to be reversed #define LCD_Backlight_Off_State 0 #define KEYPAD_ROW_1 DIGITAL_11 #define KEYPAD_ROW_2 DIGITAL_10 #define KEYPAD_ROW_3 DIGITAL_9 #define KEYPAD_ROW_4 DIGITAL_8 #define KEYPAD_COL_1...

  • lhatch lhatch posted a comment on discussion Help

    Since this is my thread. I will post here. I grab some code and made the below. Keypad it on order, but will just short a row and column. When I run it I get my "> " and 13 (with no row/col shorted. If I short 7 and 8 still a 13 on display. Anyone see what I missed? ~~~ #chip mega328p, 16 #include <UNO_mega328p.h> HI2CMode Master #define HI2C_DATA #define LCD_IO 10 #define LCD_I2C_Address 0x4e '// Change to 0xFE for SainSmart #define LCD_Backlight_On_State 1 '// These may need to be reversed #define...

  • lhatch lhatch posted a comment on discussion Help

    I made a post and do not see it. Going to bump this thread and see if somehow my account is not working. I get GCB stuff all day. I posted and like it never made it. I guess mods have to approve new topics or something (if I see this comment show up). Like to get keypad working this weekend...

  • lhatch lhatch posted a comment on discussion Help

    I have never use the Arduino IDE (other that the (ESP). Only GCB on uC/AVR. On TX/RX high. The user has used two NANOs and same results. I will be on vacation tomorrow and bread board it with 2 LEDS and see what I get. Workng with someone that likes Arduino, all new to me. Normally I use a PIC and AVR and asm or GCB.

  • lhatch lhatch posted a comment on discussion Help

    I will update the compiler tonight and see if that helps. Not sure on not enough info either time... Last post has source code, error and assembler program name. Also, first post on the UNO assumtion, in the title I mentioned the Arduino name (NANO),. Also lost on the Y or N part?

  • lhatch lhatch posted a comment on discussion Help

    chip mega328p,16 dir portd.0 out dir portd.1 out do portd.0=!portd.0 portd.1=!portd.1 wait 1 sec loop Get gcasm symbol 11.0 has not been definded

  • lhatch lhatch posted a comment on discussion Help

    Teaching someone GCB and wanted a full 8 bit port got a 5.5" 7 segment display, can use PORTC and fake the one bit, but I wanted to keep it simple.

  • lhatch lhatch posted a comment on discussion Help

    It is a NANO. But seems the same issue as the UNO. Should I not be able to set portd.1 off and drive it down. The USB cable was use to program it via the bootloader, but was not connected when in-circuit. Power is running on RAW pin using the onboard regulator. Hope someone has figure it out before.

  • lhatch lhatch posted a comment on discussion Help

    I want to use PortD on the Mega328p. For some reason PortD.0 (RX) and PortD.1 (TX) are always high (can not set off)? Is this a Arduino bootloader issue as they are marked TX/RX? Maybe I have a bad nano. Anyone found this before?

  • lhatch lhatch posted a comment on discussion Help

    Opps. Works if I flipped the #define parameters, works both ways. Had I/O and equate/label flipped.

  • lhatch lhatch posted a comment on discussion Help

    Thanks Stan. PD2 and PB5 from nano. Thanks.

  • lhatch lhatch posted a comment on discussion Help

    chip mega328p, 16 include <UNO_mega328p.h> define DIGITAL_13 LED define DIGITAL_2 IR DIR LED Out DIR IR In DIM state as bit start: if IR <> 0 then rem gosub toggle end if goto start end

  • lhatch lhatch posted a comment on discussion Help

    Looks like K&R C code to me. Is this all the code? Also, the first endif needs to...

  • lhatch lhatch modified a comment on discussion Help

    Send it out in ASCII hex right? You need to break it into bytes of tens and ones...

  • lhatch lhatch modified a comment on discussion Help

    Send it out in ASCII hex right? You need to break it into bytes of hundreds, tens...

  • lhatch lhatch modified a comment on discussion Help

    Send it out in ASCII hex right? You need to break it into bytes of hundreds, tens...

  • lhatch lhatch posted a comment on discussion Help

    Send it out in ASCII hex right? You need to break it into bytes of hundreds, tens...

  • lhatch lhatch posted a comment on discussion Help

    I do not use the IDE. I open the chm and you a text editor and batch file to assemble...

  • lhatch lhatch posted a comment on discussion Help

    If the search was at the top, you could hide the TOC sidebar ans search, that would...

  • lhatch lhatch modified a comment on discussion Help

    David, do not think GPIO 3 can be an output. Do you have a schematic on the circuit....

  • lhatch lhatch modified a comment on discussion Help

    David, do not think GPIO 3 can be an output. Do you have a schematic on the circuit....

  • lhatch lhatch posted a comment on discussion Help

    David, do not think GPIO 3 can be an output. Do you have a schematic on the circuit....

  • lhatch lhatch posted a comment on discussion Help

    William, correct all three addresses work, can try more? I change the text each time...

  • lhatch lhatch modified a comment on discussion Help

    Evan/William, this works. Not sure what the LEDIO 10 and ADDRESS 0x3e do but it works....

  • lhatch lhatch modified a comment on discussion Help

    This works. Not sure what the 10 and 0x3e do but it works. chip mega328p, 16 config...

  • lhatch lhatch posted a comment on discussion Help

    This works. Not sure what the 10 and 0x3e do but it works. chip mega328p, 16 config...

  • lhatch lhatch posted a comment on discussion Help

    Well, it is a 3E Sainsmart. And it now works. Not sure why the pull-ups did not work...

  • lhatch lhatch posted a comment on discussion Help

    Thanks William. I will test them tonight. The chip has PCF8574T according to my ...

  • lhatch lhatch posted a comment on discussion Help

    I ran the SW LED and no luck. The terminal would at least let me see the address...

  • lhatch lhatch posted a comment on discussion Help

    Evan, Where do I find 12c. I posted this in the morning and it did not take for some...

  • lhatch lhatch modified a comment on discussion Help

    Did 5K on clk and data, still no LED blink (did not find I2C anywhere). So I guess...

  • lhatch lhatch posted a comment on discussion Help

    Did 5K on clk and data, still not LED blink (did not find I2C anywhere). So I guess...

  • lhatch lhatch posted a comment on discussion Help

    No, I saw something about adding 5Ks, the other module (not sainsmart but TWI) works...

  • lhatch lhatch posted a comment on discussion Help

    I ran this and goy no led blinking. I did a do loop to stick it is finds anything....

  • lhatch lhatch modified a comment on discussion Help

    Nothing I could figure out how to work. Is terminal where MEGA328p can write to the...

  • lhatch lhatch posted a comment on discussion Help

    Nothing I could figure out how to work. Is terminal where MEGA328p can write to the...

  • lhatch lhatch posted a comment on discussion Help

    I did a manual run on a number of addresses. Where do I find the i2cdiscovery? I...

  • lhatch lhatch posted a comment on discussion Help

    Hey Evan, Here is a link to it. 3f was no go, 4f, 47. The c a and 9 either. Maybe...

  • lhatch lhatch modified a comment on discussion Help

    I bought a 4x20, tried the i2c address 3E 4E 7E. The display does not fire up. Was...

  • lhatch lhatch posted a comment on discussion Help

    I bought a 4x20, tried the i2c address 3E 4E 7E. The display does not fire up. Was...

  • lhatch lhatch posted a comment on discussion Open Discussion

    I just bought a couple nrf24L01's to start a small low speed pic/avr control network....

  • lhatch lhatch posted a comment on discussion Help

    Thanks again William. The problem was the prescaler. There is an error in the sample...

  • lhatch lhatch modified a comment on discussion Help

    The LCD is fine, the trigger I can see on the scope, but do not get echo. I put the...

  • lhatch lhatch modified a comment on discussion Help

    The LCD is fine, the trigger I can see on the scope, but do not get echo. The put...

  • lhatch lhatch posted a comment on discussion Help

    The LCD is fine, the trigger I can see on the scope, but do not get echo. The put...

  • lhatch lhatch posted a comment on discussion Help

    No I have the same one sainsmart is, and figured is should work. But I just ran William's...

  • lhatch lhatch posted a comment on discussion Help

    Hey Evan, I assume the other fellow did not send one. Might be easier if I send a...

  • lhatch lhatch posted a comment on discussion Help

    I have the same display and want to get it running on an Arduino. Wasted a lot of...

  • lhatch lhatch posted a comment on discussion Help

    Hi Mark, That was it. Need to remove the default, and turn on arduino and com8: Thanks....

  • lhatch lhatch modified a comment on discussion Help

    Comments for sure and I would recommend giving the GPIO pins names as well. Like:...

  • lhatch lhatch posted a comment on discussion Help

    Comments for sure and I would recommend giving the GPIO pins names as well. Like:...

  • lhatch lhatch posted a comment on discussion Open Discussion

    Thanks for the help Frank, Turns out I kept getting bad trunk pulls. I had all the...

  • lhatch lhatch posted a comment on discussion Open Discussion

    I just loaded 1.02 and same errors? Any other ideas what it might be?

  • lhatch lhatch posted a comment on discussion Compiler Problems

    Can I just unzip the greatcowbasic folder (in the hot_fix.zip) over my greatcowbasic...

  • lhatch lhatch posted a comment on discussion Open Discussion

    I loaded fbc on a RaspPi and pulled from the trunk gcbasic.bas and the 4 .bi files....

  • lhatch lhatch posted a comment on discussion Open Discussion

    Frank is right, apt-get install libncurses5-dev is required after the ./install.sh...

  • lhatch lhatch posted a comment on discussion Compiler Problems

    Will do. Can I just unzip the greatcowbasic over my greatcowbasic folder. I did not...

  • lhatch lhatch modified a comment on discussion Compiler Problems

    Thanks again Evan (and Kent), I looked for the new download and pulled the zip. I...

  • lhatch lhatch posted a comment on discussion Compiler Problems

    Thanks again Evan, I look for new download and pulled the zip. I will update it today....

  • lhatch lhatch modified a comment on discussion Compiler Problems

    FYI, the example on the http://gcbasic.sourceforge.net/help/ pulsein command was...

  • lhatch lhatch posted a comment on discussion Compiler Problems

    FYI, the example on the http://gcbasic.sourceforge.net/help/ pulsein command was...

  • lhatch lhatch posted a comment on discussion Compiler Problems

    Thanks for the input guys. Turned out the pulsein was wrong. Will look at the Roth...

  • lhatch lhatch modified a comment on discussion Compiler Problems

    I wrote a program to blink an LED after firing a ultra sonic module. I have not use...

  • lhatch lhatch posted a comment on discussion Compiler Problems

    I wrote a program to blink an LED after firing a ultra sonic module. I have not use...

  • lhatch lhatch posted a comment on discussion Compiler Problems

    Opps. Being using the compiler for years, rare problems if any. DUH! I guess I need...

  • lhatch lhatch posted a comment on discussion Compiler Problems

    Write a program to run a winch (like H bridge I guess). Post below. I get a compile...

  • lhatch lhatch posted a comment on discussion Help

    Below are the updates from Hugh. I can pull the ASM into MPASM X and see the code...

  • lhatch lhatch posted a comment on discussion Help

    Hugh, It ran perfect with no errors. Then I loaded MPASM X (bloatware for sure),...

  • lhatch lhatch posted a comment on discussion Help

    Nobody? Maybe it is a GCB switch, I will check there.

  • lhatch lhatch modified a comment on discussion Help

    This is my command line and my batch file that I use to make my .asm and .hex files...

  • lhatch lhatch modified a comment on discussion Help

    This is my command line and my batch file that I use to make my .asm and .hex files...

  • lhatch lhatch posted a comment on discussion Help

    This is my batch file that gcbasic calls when I compile and works like a champ. But...

  • lhatch lhatch modified a comment on discussion Help

    Thanks Chuck, original code and your starttimer and it's blinking now. With 4 and...

  • lhatch lhatch modified a comment on discussion Help

    Thanks Chuck, original code and your starttimer and it's blinking now. With 4 and...

  • lhatch lhatch modified a comment on discussion Help

    Thanks Chuck, original code and your starttimer and it's blinking now. With 4 and...

  • lhatch lhatch modified a comment on discussion Help

    Thanks Chuck, original code and your starttimer and it's blinking now. With 4 and...

  • lhatch lhatch posted a comment on discussion Help

    Thanks Chuck, original code and your starttimer and it's blinking now. With 4 and...

  • lhatch lhatch posted a comment on discussion Help

    @kent_twt4 The toggle threw an error about GPIO and being defined.

  • lhatch lhatch posted a comment on discussion Help

    @Chuck. I get no LED on at all. I I do a simple wait 1 s, set LED on, wait 1 s, set...

  • lhatch lhatch modified a comment on discussion Help

    Not sure if the PS is the problem, I pulled the commands from the GCBasic pdf file....

  • lhatch lhatch modified a comment on discussion Help

    Not sure if the PS is the problem, I pulled the commands from the GCBasic pdf file....

  • lhatch lhatch modified a comment on discussion Help

    Not sure if the PS is the problem, I pulled the commands from the GCBasic pdf file....

  • lhatch lhatch modified a comment on discussion Help

    Not sure if the PS is the problem, I pulled the commands from the GCBasic pdf file....

  • lhatch lhatch posted a comment on discussion Help

    Not sure if the PS is the problem, I pulled the commands from the GCBasic pdf file....

1