SpenceKonde / ATTinyCore

Arduino core for ATtiny 1634, 828, x313, x4, x41, x5, x61, x7 and x8
Other
1.53k stars 301 forks source link

attinycore library not compiling on arduino ide #835

Open Budda23 opened 5 months ago

Budda23 commented 5 months ago

hey im new to all this microcontroller and programming stuff. i just decided to get into this and saw attiny85 was small and cheap, figured its be best for learning and affordable. im trying to setup my Arduino IDE and all the library, core, and boards. to be honest i dont know what im doing and the internet is not help for beginners that no nothing at all. how do i configure that files so it will compile. i want to share the error but i dont know where to put it so its private. please help

hmeijdam commented 5 months ago

Start with an Arduino UNO and after having some experience with that move on to e.g. Attiny85. Small and cheap does not mean it's easy for beginners.

Budda23 commented 5 months ago

I'm not worried about the difficulty, I figured if I learned the attiny85 that's all I will need for any of my projects. I rather prefer to just learn on one device and thats the attiny85 and the attiny 10, i don't need them for super complicated coding, just the stuff to getting it functioning just to preform a couple of tasks is all... I just want to know how to set PWM at a possible 1khz-150khz with a adjustable dutycycle that could be controlled by a potentiometer, the the frequency range so I could cover a verity of circuits, from leds- to switch mode power supply, im not looking to build anything ridiculous. I also want to know if you can use one chip and some kind of why to code it so it's the like the firmware chip while another attiny85 have the firmware that could be updated via serial communication kind of like how you would have a firmware on a 3d printer but could can upgrade the firmware with a program called marlin then you con flash the board with a SD card to update it, to improve visuals, functionality, how things are calibrated, performance improvement, stuff like that to that nature but with two attiny85 one to be the main operating device and the other one to to tinker with and upload the updated "firmware"...  I don't mind if the codes generated aren't compatible with anything else, as long as  they can communication the custom designs I make on my own. Also is it possible to use them as mini brains to networked together to make a more complicated design that can handle multiple functions and and run seamlessly, I know all these things are possible to do with microcontrollers just not sure about the attiny85, I figured what I'm looking for are the basics of what the chip could do from all the research I've done so far on the chip. I kind of get the arduino ide program but I don't understand it if that makes sense, like I can get it to preform functions but to exactly what I'm looking for but they function good enough for to still work with but I don't understand what the codes are actually doing. I've never coded in my life before, I just decide one day to try it out, but I aint rich and can't afford school to learn these things, and the internet is so vague and not detailed to helping someone learn but worded more to someone who already understands how everything works but just tinkering. So I don't understand anything to be honest really.... but I'd like to take a shot at it and see what I could do with it... I'm more of a hobbiest just trying to make myself projects than buying through together made planned projects other people have made for other tl work on. I want to become one of the creator's of hobby projects. I'm kind of hard to teach but once I learn it and understand it I could be great help in improving what ever it my be in make the use of the attiny85 more easy for other to use. I want to learn this stuff and would like to be a big help to the community as well I just don't know where to go looking for the info I need to know to be able to learn it and understand it. But if anyone would be willing to help me learn of point me in the right direction to make learning possible id very much appreciated and in the future I could be a big help in future thinks protaining to the attiny85 microcontroller. Like make new development boards that make it easy to connect the computer and programmers to be able to program the chips easy and with less device switch but like pretty much combine all the different boards already made together in one board to make it more convenient and compacted than having multiple modules with wires jumping everywhere, all you would need to do is flip a switch and plug it in. Like combining a development board, a high voltage programmer to reset the fuses so it can be programmable with isp, uart and other like things like that all together in one device. I'm willing to create them, I just want to know and understand what I'm doing first... so I don't make half ass equipment that won't reliable. If anyone could help me I'd appreciate it alot and would know how to repay you but you teachings won't go in vain.Sent from my Verizon, Samsung Galaxy smartphone -------- Original message --------From: Hans @.> Date: 1/12/24 11:25 PM (GMT-08:00) To: SpenceKonde/ATTinyCore @.> Cc: Budda23 @.>, Author @.> Subject: Re: [SpenceKonde/ATTinyCore] attinycore library not compiling on arduino ide (Issue #835) Start with an Arduino UNO and after having some experience with that move on to e.g. Attiny85. Small and cheap does not mean it's easy for beginners.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>